using
< property name="hbm2ddl.auto"> create< / property >
only creates the tables, and whenever a schema does not exist, hibernate fails to create the table because the schema does not exist.
using
< property name="hbm2ddl.auto"> create< / property >
only creates the tables, and whenever a schema does not exist, hibernate fails to create the table because the schema does not exist.
Hibernate will not create the schema for you, but maybe you can tell your DBMS to run some script before hibernate starts to create the schema objects. I found something here and I think you can use it as a start point.