Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
  HXTT Cobol v2.1
  HXTT DBF v5.2
  Buy Now
  HXTT Excel v4.2
  HXTT Paradox v5.2
  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)

Getting error while connecting to MDB file
Ravi Jagtap
2007-06-22 06:22:52.0
I am using Oracle2Access V1.2 API for connecting to the MDB file from my JAVA application. But i am getting an error

java.sql.SQLException: D:/tempDB.mdb; doesn't exist or can't be accessed!
at Source)
at Source)
at com.hxtt.sql.access.n.(Unknown Source)
at com.hxtt.sql.access.EmbeddedDriver.connect(Unknown Source)
at Source)
at com.hxtt.sql.HxttDriver.if(Unknown Source)
at com.hxtt.sql.HxttDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(
at java.sql.DriverManager.getConnection(
at dc.ImportOracleData.(
at dc.ImportOracleData.main(

The database is in D:\ drive (D:\tempDB.mdb) which is same i have given in the application. But i am getting the above mentioned error.
Please help me to sort this out
Re:Getting error while connecting to MDB file
HXTT Support
2007-06-22 09:43:38.0
Please redownload the EMBOracle2Access_WithDRV.jar package or EMBOracle2Access_WithoutDRV.jar package.

We have fixed this problem.

You can run the follows test sample code to export data.

public static void main(String[] args) throws SQLException, ClassNotFoundException, InstantiationException, IllegalAccessException {
//exportTableToAccess2003(String schemaName, String tableName, String targetDirectory, String targetTableName, String targetConnPar) throws SQLException {
Connection aConn = null;
try { Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
aConn = DriverManager.getConnection("jdbc:oracle:thin:test/test@");;,"kf_csb","h:/tmp/new.mdb","BTABLE",null);

//must recall setConnection function;,"kf_ggtc","h:/tmp/new.mdb","KF_GGTC",null);
catch(Exception ee ) {
if (aConn!=null) aConn.close();

Re:Getting error while connecting to MDB file
HXTT Support
2007-06-22 09:50:05.0
If this errors happened still, maybe the Access MDB file has damaged or be a unsupported mdb format.

Please sent your tempDB.mdb file to our email box.

Search Key   Search by Last 50 Questions


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