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: problem with hibernate session
PostPosted: Thu Jul 16, 2009 5:29 am 
Newbie

Joined: Tue Jun 02, 2009 11:15 am
Posts: 3
Hi,
i am using Struts 1.2.9 and Hibernate 3
my problem is that i update/add objetcts, but i cant see this modifications
i give an example:
i have a table Incidents(id, title, description, date, #levelId, #stateId, #createrId)
i add a new Incident, or update an old one, when i want to display this one i can see new values of (title, description, date), but there are no values for (level, state, creater).
when i restart tomcat and display this record i can see all values.

I am sorry for my english level
Thanks for help


Top
 Profile  
 
 Post subject: Re: problem with hibernate session
PostPosted: Mon Jul 20, 2009 5:59 am 
Newbie

Joined: Tue Jun 02, 2009 11:15 am
Posts: 3
i tried but always the same problem :(
any ideas ?


Top
 Profile  
 
 Post subject: Re: problem with hibernate session
PostPosted: Mon Jul 20, 2009 6:33 pm 
Senior
Senior

Joined: Wed Sep 19, 2007 9:31 pm
Posts: 191
Location: Khuntien (Indonesia)
Have you flush and close the session?


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.