-->
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: $$EnhancedByCGLIB$$
PostPosted: Mon Apr 26, 2004 11:04 am 
Newbie

Joined: Mon Feb 02, 2004 4:18 pm
Posts: 16
Hi,

I'm trying to persist a class but hibernate is using CGLIB to modify the class which means that I cannot get it to persist correctly. Is there anyway around this problem, is there any way of referencing the object directly?

TIA


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 26, 2004 11:10 am 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
hibernate.cglib.use_reflection_optimizer = false

http://www.hibernate.org/hib_docs/refer ... n-optional

it may help


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 27, 2004 4:56 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
CGLIB don't modify the class, it extends it.

_________________
Emmanuel


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.