I have created a java class to do automatic setup of database using 'RUNSCRIPT' from a setup sql file.
Please go to 'http://www.thotheolh.pastebin.com/m739dcbc9' to get my codes for the java class. As for the setup sql script, go to 'http://www.thotheolh.pastebin.com/ m19be7a70'. To use this class, a sample code as below... new AutoSetup(new Connection(<make your new sql connection>)).init(new File(<setup sql file>)); I am not sure if this is some code logic problem or is this H2 database problem so I need some help here. I am using the 1.1.117 build. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to h2-database@googlegroups.com To unsubscribe from this group, send email to h2-database+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/h2-database?hl=en -~----------~----~----~----~------~----~------~--~---