JUnit testing Hibernate (Annotated Entity) using HSQLDB
I need to test my hibernate annotated entities (I dont have xxx.hbm.xml) using HSQLDB.
I can not use 'HBM2DDL_AUTO' property to auto-create tables in 'HSQLDB' since it looks for the corresponding xxx.hbm.xml file.

<pre>
For example
configuration.setProperty(Environment.HBM2DDL_AUTO, "create-drop");
</pre>

Could someone please tell me which property should I use to auto-generate table without xxx.hbm.xml.

Thanks in advance.


P.S.
I am following <a href="http://today.java.net/pub/a/today/2005/10/11/testing-hibernate-mapping.html">this</a> tutorial.
JUnit testing Hibernate (Annotated Entity) using HSQLDB
===

I need to test my hibernate annotated entities (I dont have xxx.hbm.xml) using HSQLDB.
I can not use 'HBM2DDL_AUTO' property to auto-create tables in 'HSQLDB' since it looks for the corresponding xxx.hbm.xml file.

<pre>
For example
configuration.setProperty(Environment.HBM2DDL_AUTO, "create-drop");
</pre>

Could someone please tell me which property should I use to auto-generate table without xxx.hbm.xml.

Thanks in advance.


P.S.
I am following <a href="http://today.java.net/pub/a/today/2005/10/11/testing-hibernate-mapping.html">this</a> tutorial.