How do I turn off schemaupdate so that it does not run when I start up my tomcat server?
All the info I could find said to simply remove that property from persistence.xml. Which I have done. But schemaupdate still runs every time.
Is there another place I need to check?
I am using hibernate 3.3 and Spring 2.5 using JPA
Persistence.xml
Code:
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
version="1.0">
<persistence-unit name="myapp" >
<properties>
<!--<property name="hibernate.show_sql" value="true" />-->
<property name="hibernate.format_sql" value="true" />
<property name="hibernate.use_sql_comments" value="true" />
</properties>
</persistence-unit>
</persistence>