Hi All,

We have a H2 restart functionality which

first calls org.h2.tools.Server.stop() function to stop H2 database and
then start h2 database using Server.createTcpServer(svrArgs).start();
After starting H2, we create schema and load data into it.

There is no delay/sleep between stop and start call.

We are seeing intermittent exception of "Table already exists" whenever we
restart H2.
I am wondering if stop function is asynchronous, and tables do not get
dropped before it
returns from stop function.

Please let me know if you anything wrong in the call sequence. Should I
introduce delay between
stop and start function?



Regards,


Subhash Agrawal

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to