Vasanthakumar wrote:
> Hi all
> I am using Toplink + GlassFish for persistent layer for my project
>
>
> I have a aproblem in persistency. When I persist one object it is not
> persisted but no exception comes but when
> do like
>
> EntityManager em =
> getJpaTemplate().getEntityManagerFactory().createEntityManager();
> em.getTransaction().begin();
>
> em.persist(user);
> em.getTransaction().commit();
>
>
> It works.
Here you said "it works" and earlier you mentioned "the object is not
persisted". Can you clarify what works and what does not work?
> Please tell me how can I configure rollback = false in the
> application-config for JpaTransactionManager/
What is application-config? What is JpaTransactionManager?
Sahoo
>
>