into my DAO. That is working well
for me. (No constructors.)
Best Regards.
--Anas Mughal
http://anas-mughal.com
--- On Thu, 11/11/10, Everton Agner wrote:
From: Everton Agner
Subject: Re: session is NULL
To: "Tapestry users"
Date: Thursday, November 11, 2010, 8:23 AM
> @
0, Rich M wrote:
>
> From: Rich M
> Subject: Re: session is NULL
> To: "Tapestry users"
> Date: Wednesday, November 10, 2010, 10:34 AM
>
> On 11/10/2010 03:42 AM, Anas Mughal wrote:
> > I have setup my DAO as a Tapestry service in the AppModule as:
> &
Yes, that worked. I wish to thank everyone for their help!
Tapestry is great!
Coming from the Spring world, I do not miss those verbose Spring configuration
files!
--Anas Mughal
http://anas-mughal.com
--- On Wed, 11/10/10, Rich M wrote:
From: Rich M
Subject: Re: session is NULL
To
page classes cleaner.
Any suggestion would be greatly appreciated.
--- On Wed, 11/10/10, Kalle Korhonen wrote:
From: Kalle Korhonen
Subject: Re: session is NULL
To: "Tapestry users"
Date: Wednesday, November 10, 2010, 1:48 AM
@Inject is for pages. Make your DAO a T
On Wed, Nov 10, 2010 at 9:42 AM, Anas Mughal wrote:
>
> I have setup my DAO as a Tapestry service in the AppModule as:
>
>
[...]
Then, I try to inject the session as follows:
>
> public class BranchHibernateDAO implements BranchDAO {
>
> @Inject
> private Session session;
>
>
>
Kindly visit my post.
http://tapestry.1045711.n5.nabble.com/T5-Working-Tapestry-Hibernate-with-DAO-td3229905.html#a3229905
http://tapestry.1045711.n5.nabble.com/T5-Working-Tapestry-Hibernate-with-DAO-td3229905.html#a3229905
--
View this message in context:
http://tapestry.1045711.n5.nabble.co
/10, Kalle Korhonen wrote:
From: Kalle Korhonen
Subject: Re: session is NULL
To: "Tapestry users"
Date: Wednesday, November 10, 2010, 1:48 AM
@Inject is for pages. Make your DAO a Tapestry service and inject the
session to it via its constructor.
Kalle
On Tue, Nov 9, 2010 at
@Inject is for pages. Make your DAO a Tapestry service and inject the
session to it via its constructor.
Kalle
On Tue, Nov 9, 2010 at 9:52 PM, Anas Mughal wrote:
> I have setup my Tapestry project using the Maven archetype. Then, I setup my
> hibernate.cfg.xml file with references to my hibern
no error with respect to the hibernate configuration.)
>
> I don't know how to resolve the session object being NULL in my simple DAO
> below.
>
>
>
>
>
>
>
> Thanks for your help!
> --
> Anas Mughal
>
> http://anas-mughal.com
>
>
>
>
>
Josh Kamau
Subject: Re: session is NULL
To: "Tapestry users"
Date: Wednesday, November 10, 2010, 1:04 AM
Hi Anas;
Have you added the tapestry-hibernate dependency on your pom.xml?
On Wed, Nov 10, 2010 at 12:52 AM, Anas Mughal wrote:
> I have setup my Tapestry project using the Mav
Hi Anas;
Have you added the tapestry-hibernate dependency on your pom.xml?
On Wed, Nov 10, 2010 at 12:52 AM, Anas Mughal wrote:
> I have setup my Tapestry project using the Maven archetype. Then, I setup
> my hibernate.cfg.xml file with references to my hibernate mapping files. (I
> am not usin
11 matches
Mail list logo