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
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
 

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