Description
Legacy issue: baztian/jaydebeapi#161
Tier: P0 — shared-bug
Our connect() function still lacks a jvm_args parameter. The JVM arguments are hardcoded in _jdbc_connect_jpype() with no way for users to pass custom JVM args like -Duser.timezone. This is the same limitation as the upstream library.
Expected Behavior
Users should be able to pass custom JVM arguments when calling connect():
conn = jaydebeapi.connect(
'org.h2.Driver',
'jdbc:h2:mem:test',
['sa', ''],
'h2.jar',
jvm_args=['-Duser.timezone=America/Toronto']
)
Current Behavior
No way to pass custom JVM arguments. Users who need settings like -Dfile.encoding=UTF-8 or -Duser.timezone have no supported way to do so.
Description
Legacy issue: baztian/jaydebeapi#161
Tier: P0 — shared-bug
Our connect() function still lacks a jvm_args parameter. The JVM arguments are hardcoded in _jdbc_connect_jpype() with no way for users to pass custom JVM args like -Duser.timezone. This is the same limitation as the upstream library.
Expected Behavior
Users should be able to pass custom JVM arguments when calling connect():
Current Behavior
No way to pass custom JVM arguments. Users who need settings like
-Dfile.encoding=UTF-8or-Duser.timezonehave no supported way to do so.