« Return to Thread: "findOrCreateBy"

"findOrCreateBy"

by Robert Fischer :: Rate this Message:

Reply to Author | View in Thread

I'm adding "findOrCreateBy" in GORM Labs (does a find, and failing that, instantiates a new one).
Anyone have a nicer nomenclature for that?

~~ Robert Fischer, Smokejumper IT Consulting.
Enfranchised Mind Blog http://EnfranchisedMind.com/blog

Check out my book, "Grails Persistence with GORM and GSQL"!
http://www.smokejumperit.com/redirect.html

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: "findOrCreateBy"