Annotation « Property « JPA Q&A





1. How do I persist a Java property of type Object using Hibernate?    stackoverflow.com

I have a Java class with a property like this

private Object myObj;
When I try to save the class using Hibernate annotations, I get the rather confusing error message "property mapping has ...

2. Hide a property with Hibernate Annotation    forum.hibernate.org

3. Annotations and specific property accessor    forum.hibernate.org

Hello going further in my migration from .hbm.xml files to annotations I could not find anything regarding how to implement a property sepcific accessor using annotations. Looked in both annotations documentations, source code, forums and even books I have which talk about hibernate One of my class has a field called uri which was defined as follows: