Bumping this question. Romain: you mentioned on the OpenJPA thread that there 
was a TomEE solution for supplying an initialization script for a database? Do 
you have a working example of the files involved?

What would be even better, instead of re-initializing an in-memory database, 
would it be possible to provide an embedded database (such as a Derby Embedded 
database) with a web project? If so, where would I put the database file(s) and 
what JDBC URL would I have to provide for TomEE to find that data source? But 
if that's not possible, I'm still interested in that SQL initialization script 
you mentioned.

Thanks,
Kay

> On Apr 24, 2015, at 1:03 PM, Kay Wrobel <[email protected]> wrote:
> 
> Hi everybody.
> 
> How do I use the import-<name either of the datasource or the persistence 
> unit>.sql TomEE feature to pre-populate an in-memory database? If there's an 
> example documented somewhere, a link would be very helpful.
> 
> Thank you,
> 
> Kay Wrobel

Reply via email to