Hi,

I'm sure it's possible to start/stop H2 within an Ant script. And I'm
sure it would be quite easy. However, there are easier ways. For
testing, usually I would try to use the embedded mode because it is
faster than the server mode. Sometimes you could even use the
in-memory mode. If you want to be able to access the database while
the test runs you could use the auto-server mode:
http://www.h2database.com/html/features.html#auto_mixed_mode

Regards,
Thomas

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to