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
Post a Comment