Grails

Contradiction in explanation of "transactional" defaults between the guide and the reference

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0
  • Fix Version/s: 1.0.2
  • Component/s: Documentation
  • Labels:
    None

Description

In "doc/ref/Services/transactional.html" we read:

"By default services do not have automatic transaction management such as propagation and so on. By setting transactional to true you get automatic Spring managed transaction demarcation for every method in the service."

However in the guide, under "8.1 Declarative Transactions" we read:

"All services have transaction demarcation enabled by default - to disable it, simply set the transactional property to false."

So, what is the default? Enabled or disabled?

Activity

Hide
Graeme Rocher added a comment -

Bulk closing bunch of resolved issues

Show
Graeme Rocher added a comment - Bulk closing bunch of resolved issues

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: