Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Cobol v5.0
  HXTT DBF v7.1
  HXTT Excel v6.1
  HXTT Json v1.0
  HXTT Paradox v7.1
  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 ACCESS
Password error
Philippe Gervaise
2016-08-26 08:18:38
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
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
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
Thanks. Supported. Please download the latest package.
Re:Re:Re:Re:Password error
Philippe gervaise
2016-08-28 07:47:29
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
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
Sorry. Supported now. Please download it.
Re:Re:Re:Re:Re:Re:Re:Password error
Philippe Gervaise
2016-08-29 07:02:03
It works.

Thank you for your prompt reply.

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