<persistence-unit name="db-etude-persistence-unit" transaction-type="RESOURCE_LOCAL">
<provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
+ <class>org.hedgecode.chess.domain.EtudeType</class>
+ <class>org.hedgecode.chess.domain.Author</class>
<class>org.hedgecode.chess.domain.Etude</class>
<properties>
<property name="hibernate.connection.url" value="jdbc:mysql://localhost:3306/dbetude"/>
<property name="hibernate.connection.username" value=""/>
<property name="hibernate.connection.password" value=""/>
- <property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/>
+ <property name="hibernate.dialect" value="org.hibernate.dialect.MySQL5Dialect"/>
<property name="hibernate.hbm2ddl.auto" value="update"/>
</properties>
</persistence-unit>