I'm attempting to use H2 in a legacy J2EE web application rather than
our default, SQL Server.  This application has functionality similar
to Rails migrations where the database schema is updated based on the
code.  When the application starts with an empty database, the  schema
is loaded.  This works with SQL Server, but not with H2.  It is the
same code, I am only changing jdbc parameters.  I can see the tables
being created in the log every time, but when I look at the H2
database in DbVisualizer they aren't there.
My first thought was that there must be something extra I need to do
in H2 to commit transactions, but autocommit is on by default and
never turned off.  I'm sure that I am doing something blatantly wrong,
but I just don't see it. These are the jdbc properties I am using for
H2.  Thanks.

jdbc.driverClassName=org.h2.Driver
jdbc.url=jdbc:h2:~/test
jdbc.username=
jdbc.password=
--~--~---------~--~----~------------~-------~--~----~
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