Results 1 to 3 of 3
- 02-21-2011, 06:34 PM #1
Member
- Join Date
- Feb 2011
- Posts
- 2
- Rep Power
- 0
Exception when sending query to oracle
Hi,
I have java application that send queries to oracle DB.
In some cases I got exception.
If I catch this exception and send again the same query it works OK.
What can cause this issue ?
The exception:
java.lang.ArrayIndexOutOfBoundsException : -2
oracle.jdbc.driver.T4CStatement.saveDefineBuffersI fRequired(T4CStatement.java:464)
oracle.jdbc.driver.OracleStatement.prepareAccessor s(OracleStatement.java:927)
oracle.jdbc.driver.OracleStatement.executeMaybeDes cribe(OracleStatement.java:1047)
oracle.jdbc.driver.T4CStatement.executeMaybeDescri be(T4CStatement.java:830)
oracle.jdbc.driver.OracleStatement.doExecuteWithTi meout(OracleStatement.java:1132)
oracle.jdbc.driver.OracleStatement.executeInternal (OracleStatement.java:1687)
oracle.jdbc.driver.OracleStatement.execute(OracleS tatement.java:1653)
- 02-22-2011, 08:18 AM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,438
- Rep Power
- 16
Probably need to see your code, since that trace doesn't actually help by itself.
- 02-22-2011, 08:34 AM #3
Member
- Join Date
- Jan 2010
- Posts
- 90
- Rep Power
- 0
Similar Threads
-
Exception in sending mail....plz help
By snehil2009 in forum JavaServer Pages (JSP) and JSTLReplies: 2Last Post: 01-12-2010, 03:55 PM -
Sending SMS to other mobile geting exception as java.lang.IllegalArgumentException
By maruffaiz in forum CLDC and MIDPReplies: 1Last Post: 08-07-2009, 09:37 PM -
How to create a xml file from oracle sql query
By boy22 in forum XMLReplies: 1Last Post: 07-24-2007, 12:15 AM -
ñ in an oracle query
By bbq in forum JDBCReplies: 2Last Post: 07-04-2007, 07:53 AM -
oracle query with date question
By orchid in forum JDBCReplies: 1Last Post: 05-09-2007, 12:10 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks