Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
  HXTT Cobol v2.1
  HXTT DBF v5.2
  HXTT Excel v4.2
  HXTT Paradox v5.2
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Text(CSV) v5.2
  HXTT XML v1.2
Offshore Outsourcing
Oracle Data Import/Export
DB2 Data Import/Export
Sybase Data Import/Export
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
   
   
   
Hongxin Technology & Trade Ltd. of Xiangtan City (abbr, HXTT)

HXTT Paradox
Mixing HXTT JDBC Drivers
Peter Ryan
2009-10-23 09:50:03.0
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.0
You should redownload both drivers which were released on the same day.

Search Key   Search by Last 50 Questions




Google
 

Address: 9 Station Rd., Xiangtan City, Hunan Province, P.R. China
Postcode: 411100
Phone: (86)731-58225727
Fax: (86)731-58225727
Email: webmaster@hxtt.com
Copyright © 1999-2011 Hongxin Technology & Trade Ltd. | All Rights Reserved. | Privacy | Legal | Sitemap