basejump (Josh)
2011-05-30 04:04:20 UTC
1. Should calling save on a a domain be transactional by default?
- if not, then what is the general perspective on failed saves when cascades are in effect on associations?
- it seems dangerous not to have the scaffolding abide by an obvious transactional pattern by default
2. Should a "DAO" pattern or "resolver" pattern be more integral to Grails.
- it fairly hard to setup a standard transactional way of overriding persistence for a domain.
- sure there are event, but those are not transactional and they complicate the domain.
- once you get beyond what validation can do for you then it can become a non standard mish mash of sorts with a transactional service
3. Has anyone done any kind of work on a resolver pattern for Domains? or anything to bring back the dao?
I am trying to bring some standardization across our apps and plugins. Dejavu started to kick in. Could be habit in my design but I keep seeing the same stuff over and over.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
- if not, then what is the general perspective on failed saves when cascades are in effect on associations?
- it seems dangerous not to have the scaffolding abide by an obvious transactional pattern by default
2. Should a "DAO" pattern or "resolver" pattern be more integral to Grails.
- it fairly hard to setup a standard transactional way of overriding persistence for a domain.
- sure there are event, but those are not transactional and they complicate the domain.
- once you get beyond what validation can do for you then it can become a non standard mish mash of sorts with a transactional service
3. Has anyone done any kind of work on a resolver pattern for Domains? or anything to bring back the dao?
I am trying to bring some standardization across our apps and plugins. Dejavu started to kick in. Could be habit in my design but I keep seeing the same stuff over and over.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email