I did try this as you told but I am still getting the exception.
Anyways to get a solution to that. I think this is a widespread
problem(having gone through the forums), is there any other way. I am
also looking to test this finally on Webshpere so are there some
issues there?
On 10/17/08, jygnash
Hi Anoop,
YOu can use the JNDI context to get the Hibernate's SessionFactory.
1)
in hibernate-cfg.xml give the jndi name as below
2)
in one of your startup servlet or first class handling the request for
session factory creation (we had a start up servlet) , you can have the
session f
hope this help to you http://hardik4u.wordpress.com
Anoop-9 wrote:
>
> Hi,
> We are looking forward to integrating struts with hibernate in our web
> application project. Could you guide us on how to to integrate them. I
> tried the hibernate plugin as recommended on the hibernate website,
>
haven't use this plug before.
but I think Spring-plug-in, would be better!
It's less config!
On Wed, Oct 15, 2008 at 11:04 AM, Anoop <[EMAIL PROTECTED]> wrote:
> Hi,
> We are looking forward to integrating struts with hibernate in our web
> application project. Could you guide us on how to to in
On Tue, 1 Mar 2005 17:48:40 -0500, Joe Hertz <[EMAIL PROTECTED]> wrote:
> That is, usually you want the request to begin a transaction early
> and either commit or rollback at the end.
Hmm... I was under the impression that you **always** want to begin
your transaction as late as possible, not ear
This particular application (tiny, not used much, never will be, and was
written in a hurry and not by me) implementing it after the fact ain't going
to happen. Not worth the cost to the customer.
In general though, youre quite correct (and I'm cutting through the layers
of abstraction. Ultimate
This particular application (tiny, not used much, never will be, and was
written in a hurry and not by me) implementing it after the fact ain't going
to happen. Not worth the cost to the customer.
In general though, youre quite correct (and I'm cutting through the layers
of abstraction. Ultimate
Joe Hertz wrote:
I've been hearing this from the Spring set. I'm waiting for a good book to
come out on it.
www.springlive.com a REALLY good book for more than just spring. It's
30 bucks online, money WELL spent.
Brandon
-
T
On Tuesday 01 March 2005 22:07, Joe Hertz wrote:
> Curious as to which concept Struts/Hibernate implementers like more
> for implementation:
>
> #1- Ted Husted's example of Struts and Hibernate. Stick the Hibernate
> Session object into the httpServletRequest. Every action has a fresh
> Hibernate S
ling issue, but it got me wondering about where the
bathwater began and where the baby ended.
-Original Message-
From: Brandon Mercer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 01, 2005 4:48 PM
To: Struts Users Mailing List
Subject: Re: Hibernate and Struts Usage Pattern question/su
ling issue, but it got me wondering about where the
bathwater began and where the baby ended.
-Original Message-
From: Brandon Mercer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 01, 2005 4:48 PM
To: Struts Users Mailing List
Subject: Re: Hibernate and Struts Usage Pattern question/su
Joe Hertz wrote:
Curious as to which concept Struts/Hibernate implementers like more for
implementation:
#1- Ted Husted's example of Struts and Hibernate. Stick the Hibernate
Session object into the httpServletRequest. Every action has a fresh
Hibernate Session raring to go if it needs it. Then aga
12 matches
Mail list logo