-->
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: Implement hibernate pattern session-per-conversation Struts
PostPosted: Mon Jul 30, 2007 12:10 pm 
Newbie

Joined: Wed May 17, 2006 8:39 am
Posts: 2
Hi !

I would like to implement Hibernate Pattern Session-per-Conversation in a Struts environment. I'am not able to find a sample on the Internet.

Any help would be very much appreciated.

Regards!

Jedymaster


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 30, 2007 7:04 pm 
Beginner
Beginner

Joined: Sat Jul 29, 2006 12:29 am
Posts: 27
Hi,

an example with Seam (JSF) would be useful to understand the concepts...

Take a look:

http://dvdstore.demo.jboss.com/home.seam

http://seam.demo.jboss.com/home.seam

Same question answered here

Please, rate if it helps .. :)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 31, 2007 7:31 am 
Newbie

Joined: Wed May 17, 2006 8:39 am
Posts: 2
Hi André,

thanks for your quick answer but it is not quite what I looking for...

I am looking for a sample or tutorial to help me understand how to implement the Hibernate Pattern Session-per-Conversation in a Struts environment.

I just migrated a hibernate/struts/tomcat 1.4 application to a new server (tomcat 5.5) and Hibernate hangs after an hour or so...

I tryed to use C3P0 instead of Hibernate pool but it is ever worse (hang in a few minutes)

Since I use one-to-many relations I can't use session.close() in my action servlet. I think this is the cause of that problem (ever if it was working fine on my old server).

I read about the Session-per-Conversation pattern and it seems this will solve my problem... May be I wrong...

Any help will be greatly appreciated...

Jedymaster


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.