java - On services and @Transactional -



java - On services and @Transactional -

if have service class calls 3 other service classes in row, , each of sub-services has deal dao object @ point, how can create wrapper service wraps them single transaction? simple annotating wrapper @transactional? if dao marked @transactional?

if annotate outer service @transactional , daos @transactional , called service default bring together outer transaction you're hoping.

java hibernate spring transactions dao

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -