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.  [ 3 posts ] 
Author Message
 Post subject: NHiberante 1.2.0001 The need to virtualize all methods
PostPosted: Wed Aug 16, 2006 8:57 am 
Regular
Regular

Joined: Tue Feb 07, 2006 4:27 pm
Posts: 69
I've upgraded to 1.2 alpha to take advantage of generic support. I've noticed since though, that I need to virtualize all my properties and such to support the dynamic proxy capability.

Is it possible to disable this for some objects. I've added the layzy="false" key for some objects, but I haven't yet taken off the virtual keyword from the methods and I'm not sure If I can.

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 16, 2006 9:20 am 
Contributor
Contributor

Joined: Wed May 11, 2005 4:59 pm
Posts: 1766
Location: Prague, Czech Republic
You only need virtual methods for lazy objects. If you set lazy to false for a particular class, its methods don't need to be virtual.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 16, 2006 9:50 am 
Regular
Regular

Joined: Tue Feb 07, 2006 4:27 pm
Posts: 69
sergey wrote:
You only need virtual methods for lazy objects. If you set lazy to false for a particular class, its methods don't need to be virtual.


I had thought so, but haven't yet had time to try it. Thanks for the confirmation.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.