from Hibernate hbm to JPA annotations, a challenging one

Posted by nodje on Stack Overflow See other posts from Stack Overflow or by nodje
Published on 2010-05-27T06:10:17Z Indexed on 2010/05/27 6:11 UTC
Read the original article Hit count: 178

Filed under:
|
|

Hi,

I've been struggling with this one for quite some time already. It appears a lot less simple than I thought it'd be:

This is included in the "COTISATION" table mapping an uses SynchroDataType, extending Hibernate UserType.

This works really great, and I can't find a way to translate it to proper JPA, while keeping the convenience of it.

Does someone has a solution for that kind of one-to-one mapping?

cheers

© Stack Overflow or respective owner

Related posts about java

Related posts about hibernate