Néstor Boscán wrote:
I have an application that needs to autoinstall and autoupgrade without user
intervention. I wanted to know if I can put the scripts in a JAR file and
run a command in derby that will run it.
Include derbytools.jar in your classpath then use something like the
following,
Knut thanks a lot for the info.
Regards,
Néstor Boscán
-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Enviado el: Domingo, 02 de Septiembre de 2007 04:33 a.m.
Para: Derby Discussion
Asunto: Re: How to run Scripts from JDBC?
Néstor Boscán <[EMAIL PROTECTED]>
Néstor Boscán <[EMAIL PROTECTED]> writes:
> Hi
>
> Is it possible with Derby to run Scripts from JDBC?
Yes, if you have derbytools.jar in the classpath you can use the method
runScript() in org.apache.derby.tools.ij. See
http://db.apache.org/derby/docs/10.3/publishedapi/jdbc4/org/apache/derby/t