-->
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: BO objects loading twice
PostPosted: Mon Aug 06, 2007 1:31 am 
Newbie

Joined: Mon Aug 06, 2007 1:18 am
Posts: 1
i am working on hibernate with JSF with MyEclipse IDE and JBoss server for my project.
v have many BO(business object) files in our project.
about some 100 of these BO's are mapped to the main hibernate.config.xml file.
the problem is these BO's r loading twice in our application .
once,during logging in
and 2nd time after logging in, when a menu item is selected from a menu.
foe each selection, the corresponding bo's r loading again.

when they all r loaded during login validation for 1st time ,cant jboss keep them in memory, so that next time they can b accessed from jboss rather than loading second time.
please suggest ASAP.......


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 06, 2007 6:15 am 
Expert
Expert

Joined: Fri Jul 13, 2007 8:18 am
Posts: 370
Location: london
Sounds like you need to configure your second level cache.
http://www.hibernate.org/hib_docs/refer ... ance-cache


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.