Transactions in 3-tier setup/multi-archetype

30 views
Skip to first unread message

manos

unread,
Dec 11, 2012, 6:22:57 AM12/11/12
to resthub-dev
I'm using the resthub-jpa-backbonejs-multi-archetype in a 3-tier setup
and was wondering how to setup transactions properly. Should i provide
my own base service class, extending CrudServiceImpl, to setup
transaction annotations etc. or is there a better way?

Seb

unread,
Dec 12, 2012, 3:41:33 AM12/12/12
to resth...@googlegroups.com
First point, CrudServiceImpl should be transactional and currently it is not, this issue is fixed in the following commit :

In order to write your transactional services, you should inherit from CrudServiceImpl or write your own service classes, annotated with @Transactional. For more details, please check the commit changes in the previous link.
Reply all
Reply to author
Forward
0 new messages