Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
  HXTT Cobol v5.0
  HXTT DBF v7.1
  HXTT Excel v6.1
  HXTT Json v1.0
  HXTT Paradox v7.1
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT PDF v2.0
  HXTT Text(CSV) v7.1
  HXTT Word v1.1
  HXTT XML v4.0
Offshore Outsourcing
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
   
   
   
Heng Xing Tian Tai Lab of Xi'an City (abbr, HXTT)

HXTT Paradox
Mixing HXTT JDBC Drivers
Peter Ryan
2009-10-23 09:50:03
Hi,

I'm using HXTT Paradox JDBC 3.0 Package V3.1 (paid) and Access JDBC 3.0 Package V3.2 (demo).

My application is a very simple ETL tool which reads from various JDBC datasources. It sets up the drivers in an array of connection objects upon load, reading the connection information from an XML document. It does not make the connection until you request it. It maintains the connection until the application closes.

Version 1.8 does not have the Access driver in the path of the code. Version 1.9 does.

When I call the Paradox code in Version 1.9 I get:

Exception in thread "main" java.lang.NoSuchMethodError: com.hxtt.sql.de.a(ILjava/lang/String;Ljava/util/Properties;)Lcom/hxtt/concurrent/ab;
at com.hxtt.sql.paradox.EmbeddedDriver.connect(Unknown Source)
at com.hxtt.global.SQLState.getConnection(Unknown Source)
at com.hxtt.sql.HxttDriver.if(Unknown Source)
at com.hxtt.sql.HxttDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at edu.ucsd.som.TableSync.ConnInfo.getConn(ConnInfo.java:125)
at edu.ucsd.som.TableSync.MyConns.getConn(MyConns.java:81)
at edu.ucsd.som.TableSync.ProcessJob.executeElement(ProcessJob.java:301)
at edu.ucsd.som.TableSync.ProcessJob.executeElement(ProcessJob.java:270)
at edu.ucsd.som.TableSync.ProcessJob.executeJob(ProcessJob.java:207)
at edu.ucsd.som.TableSync.TableSync.main(TableSync.java:147)

When I call the code in Version 1.8 it works.

The only change was to add the Access driver into the build path. Put the Access...jar file in the lib directory I copy around with the jar file. And re-build the jar file. No code changes were made.

Using the Access driver did not have a problem.

Thanks,
Peter
Re:Mixing HXTT JDBC Drivers
HXTT Support
2009-10-25 02:25:16
You should redownload both drivers which were released on the same day.

Search Key   Search by Last 50 Questions




Google
 

Email: webmaster@hxtt.com
Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Refund | Sitemap