-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Annotations et property accessor specifique
PostPosted: Tue Jun 23, 2009 11:24 am 
Beginner
Beginner

Joined: Sat Jan 05, 2008 7:33 am
Posts: 26
Hello

continuant ma migration (penible) de .hbm.xml files vers les annotations, je n'ai rien trouve concernant l'utilisation
des accesseurs specifiques en utilisant les annotations. j'ai cherche dans les docs, le code source, les forums et meme
dans les livres dont je dispose sur Hibernate

Une de mes classes a un champ uri de type java.net.URI

<property name="uri" column="uri" type="string" access="org.hibernate.property.URIAccessor"/>

org.hibernate.property.URIAccessor est dans mon code java
public class URIAccessor implements PropertyAccessor {
...
}
et fonctionne tres bien.

Comment reutiliser ce code en utilisant les annotations ?

Merci pour votre aide


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.