Hi,
I have CustomerDAOImpl where I am doing CRUD. Few questions.
*Q1 -* Should I declare Session at class level or each method level OR
declare at class level and initialize at each method level?
*Q2 -* When fetching data like in listCustomer, Should I
session.beginTransaction(); and than commit
Thanks. How initialize session where it should auto inject? . Please give
me example.
On Fri, Sep 14, 2012 at 4:22 PM, Alejandro wrote:
> You must initializate session attribute.
>
> 2012/9/14 pirzada rashid
>
> > Hi,
> >
> > I am using struts2-fullhibernatecore-plugin-2.2.2-GA in a demo strut2
You must initializate session attribute.
2012/9/14 pirzada rashid
> Hi,
>
> I am using struts2-fullhibernatecore-plugin-2.2.2-GA in a demo strut2
> project with Hibernate. I tried my best but can not make it work. I am
> using all the latest jars.
>
> *Am I missing something?*
>
> Please help
>
Sorry, try with action="ujjivanInsurance" in Form
2012/9/14 Alejandro
> Try with path="ujjivanInsurance"
>
>
> 2012/9/14 devsuvvari
>
>> hi i am configured the all details but still this error is coming in form
>> page action tag url name and struts-config.xml page path are
>> the
>> same an
Hi,
I am using struts2-fullhibernatecore-plugin-2.2.2-GA in a demo strut2
project with Hibernate. I tried my best but can not make it work. I am
using all the latest jars.
*Am I missing something?*
Please help
*ERROR LOG*
2012-09-14 02:06:50 - [ INFO -
SessionTransactionInjectorInterceptor:41
Try with path="ujjivanInsurance"
2012/9/14 devsuvvari
> hi i am configured the all details but still this error is coming in form
> page action tag url name and struts-config.xml page path are the
> same and giving appropriate
>
>Error 404:
> com.ibm.ws.webcontainer.servlet.exception.NoTa
hi i am configured the all details but still this error is coming in form
page action tag url name and struts-config.xml page path are the
same and giving appropriate
Error 404:
com.ibm.ws.webcontainer.servlet.exception.NoTargetForURIException: No target
servlet configured for uri: /ujjiva
2012/9/14 Ken McWilliams :
> Simply I want to evaluate a property of my action and use it's value
> within an annotation. The following is exactly where I want to use it:
>
> I want to define a excludeProperties parameter at run time.
>
> Consider the following annotation which currently works on t
8 matches
Mail list logo