Skip to content

Instantly share code, notes, and snippets.

@dchohfi
Created September 17, 2012 20:16
Show Gist options
  • Save dchohfi/3739525 to your computer and use it in GitHub Desktop.
Save dchohfi/3739525 to your computer and use it in GitHub Desktop.
persistence.xml
<persistence-unit name="">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<class></class>
<properties>
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQLInnoDBDialect"/>
<property name="hibernate.hbm2ddl.auto" value="update"/>
<property name="hibernate.show_sql" value="true"/>
<property name="hibernate.format_sql" value="true"/>
<property name="javax.persistence.jdbc.driver" value="com.mysql.jdbc.Driver"/>
<property name="javax.persistence.jdbc.url" value="jdbc:mysql://localhost/fj25"/>
<property name="javax.persistence.jdbc.user" value="root"/>
<property name="javax.persistence.jdbc.password" value=""/>
</properties>
</persistence-unit>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment