Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Problem with Transactions using EclipseLink

Hmm what transaction manager are you using? Is spring managing them?

On 11/2/08, Eric Gulatee <eric.gulatee@xxxxxxxxx> wrote:
> All,
>
> Hi I'm trying to build something using spring, jpa, osgi and eclipselink  :)
>
> I am not seeing my transactions getting committed.  I've started
> poking around in fisheye for eclipselink looking at unitofwork etc.
>
> Here are the eclipselink logs.  [Which to me indicate there are
> commits]   -- Begin transaction and commit transaction.
>
> Any leads/suggestions or ideas what I could be doing wrong to explain
> the lack of data being inserted into the DB?
>
> Cheers,
> Eric G.
>
> [2008-11-02 09:59:20.939] server-tomcat-thread-11
>                                   System.out I [EL Finer]:
> Connection(7513337)--begin transaction
> [2008-11-02 09:59:20.940] server-tomcat-thread-11
>         da.db.dao.jpa.UserDaoJpaImpl.unknown I Persisting using
> EM=org.eclipse.persistence.internal.jpa.EntityManagerImpl@17b09f
> [2008-11-02 09:59:20.940] server-tomcat-thread-11
>                                   System.out I [EL Finest]: PERSIST
> operation called on: da.db.model.User@b21979.
> [2008-11-02 09:59:20.940] server-tomcat-thread-11
>                                   System.out I [EL Finest]: assign
> sequence to the object (1,542 -> da.db.model.User@b21979)
> [2008-11-02 09:59:20.940] server-tomcat-thread-11
>         da.db.dao.jpa.UserDaoJpaImpl.unknown I Persisted using
> EM=org.eclipse.persistence.internal.jpa.EntityManagerImpl@17b09f
> [2008-11-02 09:59:20.941] server-tomcat-thread-11
>                                   System.out I [EL Finer]: begin unit
> of work commit
> [2008-11-02 09:59:20.941] server-tomcat-thread-11
>                                   System.out I [EL Finer]:
> Connection(7513337)--commit transaction
> [2008-11-02 09:59:20.941] server-tomcat-thread-11
>                                   System.out I [EL Finer]: end unit of
> work commit
> [2008-11-02 09:59:20.942] server-tomcat-thread-11
>                                   System.out I [EL Finer]: resume unit
> of work
> [2008-11-02 09:59:20.942] server-tomcat-thread-11
>                                   System.out I [EL Finer]: release
> unit of work
> [2008-11-02 09:59:20.942] server-tomcat-thread-11
>                                   System.out I [EL Finer]: client
> released
> [2008-11-02 09:59:20.943] server-tomcat-thread-11
>                                   System.out I [EL Finer]: client
> acquired
> [2008-11-02 09:59:20.943] server-tomcat-thread-11
>                                   System.out I [EL Finer]:
> Connection(3805535)--begin transaction
> [2008-11-02 09:59:20.943] server-tomcat-thread-11
>  da.service.impl.AuditManagementImpl.unknown I Adding audit log
> [2008-11-02 09:59:20.943] server-tomcat-thread-11
>                                   System.out I [EL Finest]: PERSIST
> operation called on: da.db.model.AuditLog@401ab2.
> [2008-11-02 09:59:20.944] server-tomcat-thread-11
>                                   System.out I [EL Finest]: assign
> sequence to the object (1,543 -> da.db.model.AuditLog@401ab2)
> [2008-11-02 09:59:20.944] server-tomcat-thread-11
>                                   System.out I [EL Finer]: begin unit
> of work commit
> [2008-11-02 09:59:20.944] server-tomcat-thread-11
>                                   System.out I [EL Finer]:
> Connection(3805535)--commit transaction
> [2008-11-02 09:59:20.944] server-tomcat-thread-11
>                                   System.out I [EL Finer]: end unit of
> work commit
> [2008-11-02 09:59:20.945] server-tomcat-thread-11
>                                   System.out I [EL Finer]: resume unit
> of work
> [2008-11-02 09:59:20.945] server-tomcat-thread-11
>                                   System.out I [EL Finer]: release
> unit of work
> _______________________________________________
> eclipselink-users mailing list
> eclipselink-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/eclipselink-users
>


-- 
./tch


Back to the top