setup H2 monitor with specific class

Posted: August 23, 2012 in web
<persistence-unit name="tempDB"> 
 <provider>org.hibernate.ejb.HibernatePersistence</provider> 
 <jta-data-source>java:jboss/datasources/ExampleDS</jta-data-source> 
 <class>com.entity.Table1</class> 
 <class>com.entity.Table2</class> 
 <class>com.entity.Table3</class> 
 <exclude-unlisted-classes>true</exclude-unlisted-classes> 
 <properties> 
 <property name="hibernate.hbm2ddl.auto" value="create-drop" /> 
 <property name="hibernate.show_sql" value="true" /> 
 </properties> 
 </persistence-unit>
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s