Hi folks:

I am not sure whether I missed something, however, I felt difficult to
start a h2database (embedded) from my java code, (it should be
possible, isn't it?)

The H2 tutorial mentioned some code as:

# import org.h2.tools.Server;
# ...
# // start the TCP Server
# Server server = Server.createTcpServer(args).start();
# ...
# // stop the TCP Server
# server.stop();

However, it's not complete, what should I replace if I wanna start a
embedded h2db from the java code, and close it when the work is done?

Best Regards,
ye
--~--~---------~--~----~------------~-------~--~----~
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