« Return to Thread: Executing command from a file via JDBC

Re: Executing command from a file via JDBC

by raykroeker :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi Francois,
   Thanks for your response.  That's similar to what I'm looking for but I didn't want to distribute derbytools.jar with my application.  I guess was looking for something that came with the core jdbc driver.

Ray

On 5/10/07, Francois Orsini <francois.orsini@...> wrote:
You mean like feeding some script(s) to IJ connected to a Derby instance:
http://db.apache.org/derby/docs/dev/tools/tools-single.html#ttoolsij98878

Not sure if that's what you're asking for....


On 5/10/07, Raymond Kroeker <raymond@...> wrote:
I was wondering if anyone knows of a way I can get derby to execute a series of statements from file, for example to upgrade my db schema from one version to another without resorting to parsing the file for statements myself?

Thanks.

--
---------------------------------------------------------
Raymond Kroeker




--
---------------------------------------------------------
Raymond Kroeker

 « Return to Thread: Executing command from a file via JDBC