Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <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="emf">
- <provider>org.hibernate.ejb.HibernatePersistence</provider>
- <properties>
- <property name="hibernate.archive.autodetection" value="class, hbm" />
- <property name="hibernate.show_sql" value="false" />
- <property name="hibernate.format_sql" value="true" />
- <property name="hibernate.connection.driver_class" value="com.mysql.jdbc.Driver" />
- <property name="hibernate.connection.url"
- value="jdbc:mysql://localhost/vorlesung?autoReconnect=true" />
- <property name="hibernate.connection.username" value="vorlesung" />
- <property name="hibernate.connection.password" value="vorlesung" />
- <property name="hibernate.hbm2ddl.auto" value="update" />
- <property name="hibernate.c3p0.min_size" value="5" />
- <property name="hibernate.c3p0.max_size" value="10" />
- <property name="hibernate.c3p0.timeout" value="300" />
- <property name="hibernate.c3p0.max_statements" value="50" />
- <property name="hibernate.c3p0.idle_test_period" value="300" />
- <property name="hibernate.dialect" value="org.hibernate.dialect.MySQL5InnoDBDialect" />
- </properties>
- </persistence-unit>
- </persistence>
Add Comment
Please, Sign In to add comment