sim51/logisima-play-yml — Issue #8: Documentation : "jpa.dialect" property required
Author: Fluor
Created: 2012-01-31 07:13:07+00:00
State: open

If you use Play! default DB configuration for dev (Embedded H2 DB in memory set up with `db=mem`), your module doesn't work and throws an exception : `java.lang.UnsupportedOperationException: I do not know which hibernate dialect to use with null, use the property jpa.dialect in config file`.

You have to add `jpa.dialect=org.hibernate.dialect.H2Dialect`property to make your module happy.

This is strange, as a Play! application with this default DB configuration work (without `jpa.dialect`property defined), as Hibernate behavior is to "guess" the dialect from the DB.