You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Daniel John Debrunner (JIRA)" <de...@db.apache.org> on 2005/04/30 00:25:05 UTC

[jira] Resolved: (DERBY-109) con.prepareStatement() throws exception with 'large' expression

     [ http://issues.apache.org/jira/browse/DERBY-109?page=all ]
     
Daniel John Debrunner resolved DERBY-109:
-----------------------------------------

    Resolution: Duplicate

Duplicate of Derby-176, that's where various fixes are being tracked.

> con.prepareStatement() throws exception with 'large' expression
> ---------------------------------------------------------------
>
>          Key: DERBY-109
>          URL: http://issues.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://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira