Wednesday, December 23, 2009

hbm2ddl and MySQL

Previously I had a post on using hbm2ddl with Maven and the hibernate3-maven-plugin for Maven. I recently needed to use this setup on MySQL so I have posted my persistence.xml below as a reference.


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">


org.hibernate.ejb.HibernatePersistence











No comments: