-->
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.  [ 4 posts ] 
Author Message
 Post subject: hibernate-mapping-3.0.dtd changed????
PostPosted: Fri Feb 03, 2006 11:11 am 
Newbie

Joined: Fri Feb 03, 2006 10:55 am
Posts: 2
I want to edit my mapping file after a while and something strange happened!

My mapping file is not longer valid according the http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd.

Old situation:
<!ATTLIST many-to-one lazy (false|proxy|true) #IMPLIED>

New situation:
<!ATTLIST many-to-one lazy (false|proxy|no-proxy) #IMPLIED>

This changes are done within the same dtd version (3.0)

Can anyone tell me why this important change is done without change the version number????

Hibernate version: 3.0.5


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 03, 2006 11:43 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
because many-to-one lazy="true" never worked in 3.0.5.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 03, 2006 12:03 pm 
Newbie

Joined: Fri Feb 03, 2006 10:55 am
Posts: 2
max wrote:
because many-to-one lazy="true" never worked in 3.0.5.


But I use lazy="true" because I do not want CGLIB.. Objects. (proxied).

When I don't add the option lazy="true" I get objects like 'Status#CGLIB...'
Because I get problems with subclassing I add lazy="true", then I get 'Status' objects.

So I thought dat lazy="true" worked... But if not, what doesn't worked??


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 03, 2006 12:50 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
its been explained before...use lazy="false" if you dont want cglibs.

and search for no-proxy.

_________________
Max
Don't forget to rate


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