Hey guys, I need to create a H2 datasource like following jdbc:h2:mem:;SCHEMA=DBO. The problem is that Schema is not created automatically, while my hibernate mappings are bound to specific value of the schema.
Is it possible to tell H2 to auto-create specified schema? Or what would be the best way to post-initialize the datasource the way it would contain missing schema? Currently when trying to obtain connection from the above datasouce and create the schema manually I get the following exception: "org.h2.jdbc.JdbcSQLException: Schema DBO not found; SQL statement: SET SCHEMA DBO [90079-116]" Thanks, -- 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.
