Hi Francois,
On Sat, 2009-06-06 at 18:02 -0700, Francois Orsini wrote:
> You might want to use an in-memory DB if you don't need to preserve it
> across new instances...
>
> Derby's In-Memory instrumental feature has been added in 10.5.1 which
> is now available.
neat! However, I use the DB mainly to avoid running out of memory, so I
think this is not an option for me.
> If you still want to create your database in a temp directory, you
> could do it such as:
> //Unix-like
> connect 'jdbc:derby:/tmp/MyDBNAME;create=true';
>
> or
>
> // Windows
> connect 'jdbc:derby:C:/temp/MyDBNAME;create=true';
Thanks a bunch, this worked!
~ Kilian
|