-->
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: 2.1 rc1 CGLIB2 Proxy Problems.
PostPosted: Wed Dec 10, 2003 1:10 am 
Newbie

Joined: Wed Dec 10, 2003 1:02 am
Posts: 1
Location: Russia, Barnaul
After i moved to 2.1 RC1 form 2.1 beta 3 i have following issue

if class is lazy
<class .... lazy="true">
and I obtain instance
obj = sess.load( XXX.class, ID )

if instance is proxy
1. obj.getId() always returns 0
2. getter for other persistent obj.getPersistent() always returns null
3. getter for persistent enum obj.getEnum() always return value for constant Enum.fromInt(0)

if i set lazy="false" ol works correct
if i use previous verison library all correct too.


Has anybody similiar issue?

_________________
Best regards, Konstantin.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 10, 2003 1:22 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Please submit some code to reproduce this to JIRA. I have a feeling that something has changed in CGLIB2 that I am not properly aware of.


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.