-->
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: Strange INFO message
PostPosted: Tue Oct 21, 2003 6:01 am 
Regular
Regular

Joined: Wed Sep 10, 2003 7:09 am
Posts: 63
Hi,

I was running my hibernate application, and i got the following message:

INFO: building session factory
21/Out/2003 10:50:07 net.sf.hibernate.util.ReflectHelper getMetaClass
INFO: reflection optimizer disabled for: docs.DocsElement, InstantiationError: docs.DocsElement


It's not an error neither a warning. Does anyone know what does it mean?

Thanks in advance,
Joao Rangel


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 21, 2003 8:14 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
DocsElements is probably final or has final method. CGLIB (refelction optimizer) can't be used.

_________________
Emmanuel


Top
 Profile  
 
 Post subject: Final
PostPosted: Tue Oct 21, 2003 9:50 am 
Regular
Regular

Joined: Wed Sep 10, 2003 7:09 am
Posts: 63
Hi,

The class DocsElements it's not final neither has final attributes mapped. However, the class is abstract. Is that the reason?

And does this instatiate error may bring any problems to the application?

Thanks again,
Joao Rangel


Top
 Profile  
 
 Post subject: Re: Final
PostPosted: Wed Oct 22, 2003 4:25 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
jpgr wrote:
However, the class is abstract. Is that the reason?

Yes, CGLIB Enhancer allow enhancement of interface, contrete base class for non final methods

jpgr wrote:
And does this instatiate error may bring any problems to the application?

No

_________________
Emmanuel


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.