Jadira is the home for Sousan and Chris Pheby's open source projects. These are reusable open source Java modules that provide first class solutions using the most effective current JEE technologies.

Tag Cloud

Jadira Support > jadira.usertype.autoRegisterUserTypes within JEE environment

I've been using jadira with @Type annotations and I'm now trying to move this to persistence.xml. I've succeeded to do this in a standalone project however when I do the same within jboss I got an exception when executing queries that involve DateTime columns.

The exception I get is as the following:

java.lang.RuntimeException: javax.persistence.PersistenceException: org.hibernate.type.SerializationException: could not deserialize

Any guess about the cause for this issue?

July 11, 2013 | Unregistered CommenterGuillermo

Hi Guillermo,

Currently I don't use JBoss AS, but it might be worth taking a look at this article on blogspot which appears to provide a solution to the issue you describe.

Regards Chris

July 31, 2013 | Registered CommenterChris