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

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - Updating recent updates - Problem in procedure - Any other approach? -