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