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

HXTT ACCESS
Password error
Philippe Gervaise
2016-08-26 08:18:38.0
Hi,

I use HXTT Access v5.2.160 (Access_JDBC30.jar) and when I try do a simple query I got a password error :

Exception in thread "main" java.sql.SQLException: The password is error!
at com.hxtt.global.SQLState.SQLException(Unknown Source)
at com.hxtt.sql.access.m.a(Unknown Source)

My code is :

Class.forName("com.hxtt.sql.access.AccessDriver");
Connection con = DriverManager.getConnection("jdbc:Access:/C:/test.mdb", "", "");
Statement stm = con.createStatement();
ResultSet rs = stm.executeQuery("SELECT COUNT(*) FROM PPERSON");
rs.next();
System.out.println(rs.getInt(1));
stm.close();
rs.close();
con.close();

Please note that this code is working with HXTT Access v5.2.050 !

Thank you.
Re:Password error
HXTT Support
2016-08-27 04:20:46.0
Your test.mdb has a password? If not, please provide us your mdb sample.
Re:Re:Password error
philippe gervaise
2016-08-27 14:49:41.0
None of our databases has a password.

Here there is a "test.mdb" where the problem occurs :

https://penelope827-my.sharepoint.com/personal/p_gervaise_penelope_fr/_layouts/15/guestaccess.aspx?guestaccesstoken=lpw9qUOwgO88Nx2VPE5jtbmxf3bCFy%2fWJJcz5oDF8Rw%3d&docid=046de274b93e640f8bcdb2bead70049c2&rev=1&expiration=2017-08-27T21%3a46%3a42.000Z
Re:Re:Re:Password error
HXTT Support
2016-08-28 04:32:47.0
Thanks. Supported. Please download the latest package.
Re:Re:Re:Re:Password error
Philippe gervaise
2016-08-28 07:47:29.0
It works for the test database but for our real one (production database) it doesn't works !

I still got that Exception :

Exception in thread "main" java.sql.SQLException: The password is error!
at com.hxtt.b.ak.a(Unknown Source)
at com.hxtt.sql.access.m.a(Unknown Source)

Again we never use any password.
Please not again that your library version 5.2.050 is working as expected
with our production database. I don't know what you did in the last release (5.2.161) but there is again bad cases left.

I can't provide our production database for tests. Also I wan't to be sure that the error can't reappear in the futur with another database.

I don't know if it minds but if I compact our production database then your library is able to reach it (until when ?). Anyway we can't compact our production database because of heavy use. An when trying to PACK with HXTT it write that it fails.
Re:Re:Re:Re:Re:Password error
Philippe gervaise
2016-08-28 16:09:08.0
I got a test case for the problem : we have that problem for 9 databases after testing 20 databases.

So the database :

https://penelope827-my.sharepoint.com/personal/p_gervaise_penelope_fr/_layouts/15/guestaccess.aspx?guestaccesstoken=WaEfssqyTQR7AEF%2b1gul8Hox23XWr2AG1UZ4M%2blAfZ0%3d&docid=01c0e27aaafe9461bb1038c12e3db3056&rev=1&expiration=2017-08-28T22%3a59%3a25.000Z

Tested with that code :

DriverManager.getConnection("jdbc:access:///d:/data/access/datapen2000_test_password_error.mdb").createStatement().executeQuery("SELECT COUNT(*) FROM employee");

And got :

Exception in thread "main" java.sql.SQLException: The password is error!
at com.hxtt.b.ak.a(Unknown Source)
[...]
Re:Re:Re:Re:Re:Re:Password error
HXTT Support
2016-08-28 22:26:49.0
Sorry. Supported now. Please download it.
Re:Re:Re:Re:Re:Re:Re:Password error
Philippe Gervaise
2016-08-29 07:02:03.0
It works.

Thank you for your prompt reply.

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