META-INF.persistence.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dry-util Show documentation
Show all versions of dry-util Show documentation
Dont Repeat Yourself! - Utilities
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd"> <persistence-unit name="CVLPU" transaction-type="RESOURCE_LOCAL"> <provider>org.hibernate.jpa.HibernatePersistenceProvider</provider> <shared-cache-mode>UNSPECIFIED</shared-cache-mode> <properties> <property name="javax.persistence.jdbc.dialect" value="org.hibernate.dialect.MySQL5InnoDBDialect"/> <property name="javax.persistence.jdbc.url" value="jdbc:mysql://localhost:3306/powerofjava"/> <property name="javax.persistence.jdbc.user" value="root"/> <property name="javax.persistence.jdbc.password" value="root"/> <property name="javax.persistence.jdbc.driver" value="com.mysql.jdbc.Driver"/> <property name="javax.persistence.schema-generation.database.action" value="none"/> <property name="hibernate.dialect" value="org.hibernate.dialect.MySQL5InnoDBDialect"/> <property name="hibernate.hbm2ddl.auto" value="update"/> <property name="hibernate.show_sql" value="true"/> <property name="hibernate.format_sql" value="true"/> <property name="hibernate.cache.use_query_cache" value="false"/> <property name="hibernate.discriminator.ignore_explicit_for_joined" value="false"/> </properties> </persistence-unit> </persistence>