-->
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: access="...DirectPropertyAccessor" vs. access=&quo
PostPosted: Tue Oct 19, 2004 1:37 am 
Newbie

Joined: Wed Sep 15, 2004 12:31 am
Posts: 3
What, if any, is the difference between using access="net.sf.hibernate.property.DirectPropertyAccessor" and access="field" in a Hibernate mapping file?

Thanks,
wfarnaby


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 19, 2004 2:39 am 
Newbie

Joined: Tue Oct 14, 2003 2:32 pm
Posts: 11
Is the same thing
DirectPropertyAccessor is the implementation of the PropertyAccessor
interface which Hibernate uses to acces (read and write) a property.
using acces="field" a short-cut and tells hibernate to acces the properties of your persistent class directly and not through the setter & getter methods


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.