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

delphi - blogger via idHTTP : error 400 bad request -

c++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

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