You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-user@db.apache.org by Fedd Kraft <fe...@sql.ru> on 2010/08/19 09:17:11 UTC
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
RE: derby on android: nothing to recompile
Posted by Fedd Kraft <fe...@sql.ru>.
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:paul.french@kirona.com]
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:fedd@sql.ru]
Sent: 19 August 2010 08:17
To: derby-user@db.apache.org
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
RE: derby on android: nothing to recompile
Posted by Paul French <pa...@kirona.com>.
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:fedd@sql.ru]
Sent: 19 August 2010 08:17
To: derby-user@db.apache.org
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