...
So for example with the following persistence.xml:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<persistence> <persistence-unit name="movie-unit"> <provider>org.hibernate.ejb.HibernatePersistence</provider> <jta-data-source>movieDatabase</jta-data-source> <non-jta-data-source>movieDatabaseUnmanaged</non-jta-data-source> <properties> <property name="hibernate.hbm2ddl.auto" value="create-drop"/> <property name="hibernate.max_fetch_depth" value="3"/> </properties> </persistence-unit> </persistence> |
...