Tuesday, March 16, 2010

Drizzle Hibernate Dialect

I just built a hibernate dialect for drizzle:

bzr branch lp:~krummas/+junk/drizzledialect

Drop the file in your project and set;

hibernate.dialect=org.drizzle.hibernate.dialect.DrizzleDialect
hibernate.connection.url=jdbc:drizzle://10.100.100.50:3307/somedb
hibernate.connection.driver_class=org.drizzle.jdbc.DrizzleDriver

And you are ready to go. Preferably use it with the latest drizzle-jdbc snapshot. Please try it out and let me know how it works.