Hibernate Books

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: About "default-access"
PostPosted: Wed Dec 29, 2010 4:04 am 
Newbie

Joined: Wed Dec 29, 2010 4:00 am
Posts: 2
ich habe schon "default-access" als "field" in xx.hbm.xml Datei definiert.
Aber die Annotation wie "@Column" ist immer noch auf die getter-Methode.
Why??

xx. hbm.xml sieht so aus:
<hibernate-mapping default-access="field">
....
....
</hibernate-mapping>


Top
 Profile  
 
 Post subject: Re: About "default-access"
PostPosted: Wed Dec 29, 2010 6:34 am 
Senior
Senior

Joined: Tue Oct 28, 2008 10:39 am
Posts: 185
Bist du sicher, dass du Annotationen *und* xml hast? Wenn ja, dann bist doch selbst daf├╝r verantwortlich wo die Annotation sitzt.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

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.