Beginner |
 |
Joined: Sat Jan 05, 2008 7:33 am Posts: 26
|
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:
<property name="uri" column="uri" type="string" access="org.hibernate.property.URIAccessor"/>
org.hibernate.property.URIAccessor is part of my java code as public class URIAccessor implements PropertyAccessor { ... } and works well. How can I map this using annotations
thanks for any pointer
|
|