1.

How Can You Made A All The Method Of A Service In Grails Be Transactional?

Answer»

with the anotation @TRANSACTIONAL above the CLASS's NAME

EXAMPLE:

IMPORT grails.transaction.*
@Transactional
class CountryService {
}

with the anotation @Transactional above the class's name

Example:

import grails.transaction.*
@Transactional
class CountryService {
}



Discussion

No Comment Found