Unable to establish jdbc connection - from jep
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python DBAPI Compliance Tests |
New
|
Undecided
|
Unassigned |
Bug Description
Hello Team,
I'm trying to create a jdbc connection to monetdb using jaydebeapi as follows.
import jaydebeapi
def __getConnection
conn = jaydebeapi.
print(conn)
return conn
jdbc = __getConnection
When I run this piece of code in python environment, it works! I could see a connection obj created
<jaydebeapi.
But when I try to invoke this function from JAVA environment using 'Jep'(Jep embeds CPython in Java through JNI ) i'm seeing the following error
jep.JepException: <class 'RuntimeError'>: Unable to start JVM at native\
at E:\Installation
at E:\Installation
at E:\Installation
at E:\Installation
at E:\Installation
at <string>
at <string>
at jep.Jep.eval(Native Method)
at jep.Jep.
at com.altair.
at com.altair.
at com.altair.
at java.lang.
at java.util.
at java.util.
at java.lang.
Please let me know, how to sort this out.
Thanks,
Aravind