Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate Bind entity classes more than once .

 
Abhishek Guru
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am using JBOSS 4.2.0 and hibernate 3.0 along with JPA.

I have found a problem in jboss server log.

Please tell me why the following line comes so many times in hibernate log for entity classes e.g. ApplicationDisplay:

[org.hibernate.cfg.annotations.EntityBinder] Bind entity com.admin.exalt.domain.ApplicationDisplay on table APPLICATIONDISPLAY



Is there any way to map entity class only once. It consumes a lot of memory and I have to restart server after every third deployment.

Thanks & Regards
Abhishek
 
Abhishek Guru
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,


If anyone tell me why does Hibernate bind an entity class to database table multiple times.

Is this the way hibernate works or is it something else.

I also saw Collection binder run many times for mapping in entity classes.

Thanks
Abhishek

 
Abhishek Guru
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Abhishek Guru wrote:Hello,

I am using JBOSS 4.2.0 and hibernate 3.0 along with JPA.

I have found a problem in hibernate log.

Please tell me why the following line comes so many times in hibernate log for entity classes e.g. ApplicationDisplay:

[org.hibernate.cfg.annotations.EntityBinder] Bind entity com.admin.exalt.domain.ApplicationDisplay on table APPLICATIONDISPLAY

This line comes so many times in hibernate log for each Entity class in my project.


Is there any way to map entity class only once. It consumes a lot of memory and I have to restart server after every third deployment.

Thanks & Regards
Abhishek
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic