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
HXTT Access - Prepared Statements and wildcards
Benjamin B��ttcher
2016-02-24 02:18:06
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
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-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Refund | Sitemap