-->
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.  [ 1 post ] 
Author Message
 Post subject: Prevent load into java objects when start application.
PostPosted: Tue Apr 22, 2008 12:57 am 
Newbie

Joined: Tue Apr 22, 2008 12:48 am
Posts: 9
Hi,

I am using Hibernate in my application for what is was made... give persistence to my java objects. Now i have to implement some logger messages objects that i would like to store in the database in smart and clean way as for the rest of objects using hibernate. All works well and i can store them, but then when i restart the application i don't want them to be loaded. This records in the database do not need to be loaded in the memory when the application is started but loaded whenever the user ask for some report (with a direct connection using Jasper).

My idea as you see is use Hibernate to store them, but not to load them at the application start time.

Is it possible? Is there any 'flag' i can use in the mapping file to prevent the load?

Thanks,
Dani.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

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.