I saw your thread, I am thinking on whether it is possible to override this, as one of the problems is that "Derby generates bytecode dynamically for every new SQL statement" (https://issues.apache.org/jira/browse/DERBY-4458) so maybe we can maybe somehow use the bytecode once generated on JVM.
Fedd From: Paul French [mailto:[email protected]] Sent: Thursday, August 19, 2010 12:19 PM To: 'Derby Discussion' Subject: RE: derby on android: nothing to recompile 2 big problems here, derby does not run on Android and serializing objects from a non-dalvik jvm to a dalvik jvm in general does not work. P From: Fedd Kraft [mailto:[email protected]] Sent: 19 August 2010 08:17 To: [email protected] Subject: derby on android: nothing to recompile Hi, This is a bit theoretical question for future. In my project I have a set of parameterized queries (about 100) that are predefined, and their execution plan is unlikely to change. Is there a possibility to run this on Dalvik, i.e. to serialize, retrieve the dynamically compiled queries (plans?), convert to Dalvik and pass it to Derby that runs on Android? If it could be simple, please tell how, if not simple but possible, please tell the direction where to look at the code. Thanks! Fedd __________ NOD32 5377 (20100818) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com
