Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.0
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Cobol v4.0
  HXTT DBF v7.0
  HXTT Excel v6.0
  HXTT Paradox v7.0
  HXTT PDF v1.1
  HXTT Text(CSV) v7.0
  HXTT XML v3.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
HXTT Access - Prepared Statements and wildcards
Benjamin Böttcher
2016-02-24 02:18:06.0
I'm evaluating JDBC 3.0 trial version of the HXTT Access driver. When I execute following querys on an empty table "BasisTyp" it works as expected:

insert into BasisTyp (idBasisTyp, name) values (5, 'ABCD');
delete from BasisTyp where name like '%ABCD';
select name from BasisTyp;
-> No Result.

But when I use a prepared statement for deleting the inserted row, the row still exists.

PreparedStatement prepStmt = con.prepareStatement("delete from BasisTyp where name like ?");
prepStmt.setString(1, "%ABCD");
prepStmt.executeUpdate();

Prepared statements are working if the % is not at the beginning of the string. Is there a hint? Or is this fixed in a full version?

Thanks for help.
Re:HXTT Access - Prepared Statements and wildcards
HXTT Support
2016-02-24 05:56:13.0
Checked. It happened only when name is an indexed column, and like pattern begin with % .

Fixed. Please download the latest package.

Search Key   Search by Last 50 Questions




Google
 

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