Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <persistence version="2.0"
- 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_2_0.xsd">
- <persistence-unit name="jsfcourse-simplePU" transaction-type="JTA">
- <jta-data-source>java:/jsfcourse/simpleDS</jta-data-source>
- <exclude-unlisted-classes>false</exclude-unlisted-classes>
- <properties>
- <property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect" />
- <!-- <property name="hibernate.hbm2ddl.auto" value="update" /> -->
- <property name="hibernate.connection.characterEncoding" value="utf8" />
- <property name="hibernate.connection.useUnicode" value="true" />
- <property name="hibernate.connection.charSet" value="UTF-8" />
- <!-- <property name="hibernate.show_sql" value="true" /> -->
- <!-- <property name="hibernate.use_sql_comments" value="true" /> -->
- </properties>
- </persistence-unit>
- </persistence>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement