Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Eclipselink / RCP / Gemini with @Transactional ala Spring?(Is there a possibility to do this?)
Eclipselink / RCP / Gemini with @Transactional ala Spring? [message #1132928] Fri, 11 October 2013 13:39
Jack Kilian is currently offline Jack KilianFriend
Messages: 37
Registered: March 2012
Hi @all,

I implement a client using Gemini JPA(EclipseLink), Eclipse RCP e4 with DI and the JPA 2.0 annotations to define/access the JPA Models / EntityManager etc.

I did a lot of stuff with Spring in my past - so my Question is - is there a possibility to use a @Transactional annotation with Gemini JPA(EclipseLink) as it is possible in Spring.

I want not to use Spring! Instead I want to use the new Eclipse DI framework.
The current way to implement the transaction is:
 private void myTransactionMethod() {
   EntityManager em = emf.createEntityManager();

to implement it like a step backwards when we think in Dependency Injection manner Wink
that's the reason for my question.

best regards
Previous Topic:[SOLVED] Using Eclipselink in RCP environment? Want to use EclipseLink 2.5.1
Next Topic:[Solved] Eclipselink + Karaf + Oracle JDBC
Goto Forum:

Current Time: Sun Oct 04 17:12:24 GMT 2015

Powered by FUDForum. Page generated in 0.01535 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software