db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barnet Wagman (JIRA)" <derby-...@db.apache.org>
Subject [jira] Created: (DERBY-109) con.prepareStatement() throws exception with 'large' expression
Date Tue, 21 Dec 2004 16:36:13 GMT
con.prepareStatement() throws exception with 'large' expression
---------------------------------------------------------------

         Key: DERBY-109
         URL: http://nagoya.apache.org/jira/browse/DERBY-109
     Project: Derby
        Type: Bug
    Versions: 10.0.2.0    
 Environment: Linux (SuSE 9.0)
    Reporter: Barnet Wagman


The following exception was thrown from a con.prepareStatement(expresssion_string)

The expression_string is an INSERT statement that includes VALUES for many rows, possibly
over a thousand (each row has 7 columns). 

Exception:
Java linkage error thrown during load of generated class org.apache.derby.exe.ac601a400fx0100xefx1a6cx0000001b574011d


SQL error code: 30000

It has been suggested that this error occurred because the size of one  of the methods in
the generated class has become > 64k;
JVM throws error while loading classes when a method becomes > 64k.

If this is the source of the problem, the fix is for Derby to break up large methods when
generating the class.

Regards

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message