Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
  HXTT Cobol v5.0
  HXTT DBF v7.1
  Buy Now
  HXTT Excel v6.1
  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)

ResultSet or PreparedStatement problem ?
2012-04-11 16:12:34.0
I have the following situation :
- my application server is jboss 7 (process migration)
- HXTT DBF v5.1
- my code is :
Context initContext = new InitialContext();
DataSource ds = (DataSource) initContext.lookup(dataSourceName);
conn = ds.getConnection();
PreparedStatement statement = conn.prepareStatement("Select rg_bene from Bene where RG_BENE like ? AND (EMPTY(DT_CANCEL))");
statement.setString(1, "23434443-8");
ResultSet rs = statement.executeQuery();
if ( { ...... . }

when I wore hxtt dbf v4.2 in jboss 4.2.3.GA worked fine, but after migration to jboss 7 and hxtt v5.1 not worked more, return empty, my record is not found, but it exists

sorry my english

do you can help me ?

Re:ResultSet or PreparedStatement problem ?
HXTT Support
2012-04-11 18:46:06.0
Thanks. Fixed. Please redownload it.
Re:Re:ResultSet or PreparedStatement problem ?
2012-04-12 05:02:06.0
OK, it's working now.


Search Key   Search by Last 50 Questions


Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Sitemap