Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access 7.1.259
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Cobol 5.0.258
  HXTT DBF 7.1.260
  HXTT Excel 6.1.262
  HXTT Json 1.0.230
  HXTT Paradox 7.1.258
  HXTT PDF 2.0.258
  HXTT Text(CSV) 7.1.258
  HXTT Word 1.1.258
  HXTT XML 4.0.259
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
Still getting ArrayIndexOutOfBoundsException with conditions
Juan Escobar
2008-04-16 07:52:38
Hello,

I'm trying to execute a simple select like this:

SELECT STABLE.HIST, STABLE.INDEX_, STABLE.NUMOCURRENCES FROM STABLE WHERE ((STABLE.HIST IN (1,2) ) )AND(( STABLE.INDEX_ IN (1,2,3) ) )

This trows the following error trace:

java.sql.SQLException: java.lang.ArrayIndexOutOfBoundsException: 2
at com.hxtt.sql.access.a7.a(Unknown Source)
at com.hxtt.sql.access.a7.a(Unknown Source)
at com.hxtt.sql.access.a2.a(Unknown Source)

the cause for this seems to be the different number of elements in the two "IN" clauses. If both have the same number it does not fail. However this is unpractical when one of the IN conditions checks for a large number of elements.

I have verified this still happens with the latest version, please check.
Re: Still getting ArrayIndexOutOfBoundsException with conditions
HXTT Support
2008-04-18 17:05:47
Please try 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