db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Burlison <Alan.Burli...@sun.com>
Subject Re: Using embedded derby with JRuby and Rails
Date Tue, 13 Nov 2007 01:08:08 GMT
David Van Couvering wrote:

> You could do this by running some JDBC that does this, or you can
> include in your application jar a copy of the database directory, and
> extract this into the proper location when the application starts up.

Or you could script it in SQL files and then run them via ij, which can 
be found in derbytools.jar, and can be embedded into your app.


for an example - search for 'ij.runScript'.

Alan Burlison

View raw message