Hello
We are hoping to purchase this but having trouble with the trial version. Here is our test below:
Class.forName("com.hxtt.sql.access.AccessDriver").newInstance();
String url = "jdbc:access:///f:/temp/Database1.accdb";
String sql = "select * from employees";
Connection con = DriverManager.getConnection(url, "", "");
This is resulting in the following error:
Exception in thread "main" java.lang.VerifyError: Bad return type
Exception Details:
Location:
com/hxtt/sql/access/r.a(Lcom/hxtt/sql/cw;Ljava/lang/String;IIZ)Lcom/hxtt/sql/a5; @25: areturn
Reason:
Type 'com/hxtt/sql/access/ah' (current frame, stack[0]) is not assignable to 'com/hxtt/sql/a5' (from method signature)
Current Frame:
bci: @25
flags: { }
locals: { 'com/hxtt/sql/access/r', 'com/hxtt/sql/cw', 'java/lang/String', integer, integer, integer }
stack: { 'com/hxtt/sql/access/ah' }
Bytecode:
0x0000000: bb00 c859 2bc0 00cd 2c1d 2ab6 0058 2ab6
0x0000010: 0036 1504 1505 b700 ceb0
at com.hxtt.sql.access.EmbeddedDriver.connect(Unknown Source)
at com.hxtt.b.an.a(Unknown Source)
at com.hxtt.sql.HxttDriver.if(Unknown Source)
at com.hxtt.sql.HxttDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at com.internationalpresence.databaseserver.HTXXAcessDemo.main(HTXXAcessDemo.java:23)
Environment details:
JRE 1.8.0_161
OS Windows 10 Professional, 64 bit
Please advise
Thanks and regards
|
Hi there
I should have mentioned that we are also using your Excel and Text drivers (Excel_JDBC40.jar version 5.0 and Text_JDBC40.jar version 6.0)
If I remove those from the classpath the demo code returns the expected results. If I include them on the classpath I get the following error:
Exception in thread "main" java.lang.NoSuchMethodError: com.hxtt.sql.common.b.b5()Ljava/lang/String;
at com.hxtt.sql.access.r.if(Unknown Source)
at com.hxtt.sql.b0.do(Unknown Source)
at com.hxtt.sql.b0.a(Unknown Source)
at com.hxtt.sql.d3.a(Unknown Source)
at com.hxtt.sql.d3.a(Unknown Source)
at com.hxtt.sql.de.a(Unknown Source)
at com.hxtt.sql.b0.a(Unknown Source)
at com.hxtt.sql.an.a(Unknown Source)
at com.hxtt.sql.an.a(Unknown Source)
at com.hxtt.sql.an.if(Unknown Source)
at com.hxtt.sql.an.executeQuery(Unknown Source)
at com.internationalpresence.databaseserver.HTXXAcessDemo.main(HTXXAcessDemo.java:28)
Thanks for your help.
Matt
|
Yeah. Need the released drivers at the same period. The latest package is complementing JSON feature.
|