-->
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.  [ 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: 196
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  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 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.