And of course, check that you have Hibernate and hibernate annotation in your
libraries, they are NOT included automatically by maven if maven is used.

 - 99


photos-4 wrote:
> 
> 
> I'm using Eclipse. The XML config appears in target/classes and  
> appears to be in the classpath.
> 
> I'm afraid I'm rather new to Tap 5 and also to Hibernate. I'm just  
> following what is in the Tutorial. Unfortunately the session is still  
> coming out as null.
> 
> Is there anywhere I can see that Tapestry is actually using Hibernate  
> as a service?  I get the following in the console when I start my  
> application:
> 
> ...
>              HibernateEntityPackageManager: DEFINED
>                    HibernateSessionManager: DEFINED
>                     HibernateSessionSource: DEFINED
>              HibernateTransactionDecorator: DEFINED
> ...
> 
> 
> 
> Quoting Andreas Andreou <[EMAIL PROTECTED]>:
> 
>> Perhaps hibernate.cfg.xml isn't in your runtime classpath?
>> Are you sure your IDE includes it to the output?
>>
>> On Thu, Jul 24, 2008 at 6:09 PM,  <[EMAIL PROTECTED]> wrote:
>>> I am following the tutorial at
>>>
>>> http://tapestry.apache.org/tapestry5/tutorial1/forms2.html
>>>
>>> but I find that the session (supposedly injected) is null. I'm not sure
>>> how
>>> to proceed.
>>>
>>> Could someone point me to documents/better tutorials on how to use
>>> Tapestry
>>> with Hibernate?
>>>
>>> Thanks,
>>> p.
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>
>>
>>
>> --
>> Andreas Andreou - [EMAIL PROTECTED] - http://blog.andyhot.gr
>> Tapestry / Tacos developer
>> Open Source / JEE Consulting
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-T5-%3A-Hibernate-question-tp18634071p18651522.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to