|
I am writing an application to persist an object to an h2 database for testing. Everything was fine until I got to the section where I needed to convert Joda LocalDate to Java.util.date and attempt to persist to h2. (This is also an issue with Joda DateTime, but I'm focusing on localDate for this example). It literally kicks out at return date, in the converter, at commit. I isolated this error, and created a small side project as an example of what is occurring, and uploaded to github. I'm fairly certain this is an issue with hibernate at this point, and apologize profusely if I'm incorrect.
Example Project: https://github.com/CPriester/HibernateException Joda Converters: https://github.com/CPriester/joda-jpa-converters
The test project is on github, as well as attached. I am attaching the converter classes I'm utilizing as well.
|