Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v6.0
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Cobol v3.0
  HXTT DBF v6.0
  HXTT Excel v5.0
  HXTT Paradox v6.0
  HXTT Text(CSV) v6.0
  HXTT XML v2.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 Ltd. of Beijing City (abbr, HXTT)

HXTT ACCESS
Still getting ArrayIndexOutOfBoundsException with conditions
Juan Escobar
2008-04-16 07:52:38.0
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.0
Please try the latest package.

Search Key   Search by Last 50 Questions




Google
 

Email: webmaster@hxtt.com
Copyright © 1999-2017 Heng Xing Tian Tai Ltd. of Beijing City. | All Rights Reserved. | Privacy | Legal | Sitemap