It's working :)
I created new instance of EngagementformDaoHibernate in testcase instead of
creating
setEngagementformDaoHibernate () method.
mraible wrote:
>
> What class does EngagementformDaoHibernate extend?
>
> Matt
>
> On 7/19/07, Msarda <[EMAIL PROTECTED]> wrote:
>>
>> Hi all,
>>
>> I have created EngagementformDaoHibernate and also made entry in
>> application-context.xml for it.
>> as
>>
>> <bean id="engagementformDaoHibernate"
>> class="au.com.suncorp.hibernate.EngagementformDaoHibernate">
>> <property name="sessionFactory" ref="sessionFactory"/>
>> </bean>
>>
>> But i am getting null pointer exception at..
>>
>> List engagementform = getHibernateTemplate().find("from Engagementform
>> where
>> archived=?", archived);
>>
>> For getHibernateTemplate().
>> Why?
>> http://www.nabble.com/file/p11701046/EngagementformDaoHibernate.java
>> EngagementformDaoHibernate.java
>> http://www.nabble.com/file/p11701046/EngagementformDao.java
>> EngagementformDao.java
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Null-pointer-exception-tf4114728s2369.html#a11701046
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> --
> http://raibledesigns.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Re%3A-Null-pointer-exception-tf4115527s2369.html#a11707249
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]