java - What transaction manager to use? (JPA, Spring) -


i'm developing web application based on jpa + hibernate, spring , wicket. wondering what's best way of implementing transactions in code? transaction manager should use? should org.springframework.orm.jpa.jpatransactionmanager, or org.springframework.jdbc.datasource.datasourcetransactionmanager or else? i'd use spring managing transactions.

nanda right, can use jpatransactionmanager. transaction manager abstraction talking here spring's platformtransactionmanager interface, , jpatransactionmanager implementation of interface understands jpa.

you should read chapter transaction management spring reference better understand topic.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -