1. Robert MacGregor
  2. Texa

Source

Texa / grails-app / domain / com / koyanainc / bc / ResponsibleParty.groovy

package com.koyanainc.bc

class ResponsibleParty {
   
   /**   
   static getById(id)
   {
      def rp = ResponsibleParty.findById(id)
      if(null == rp ) println "\n\n\t Responsible Party id:${id} cannot be found in db"
      
      println "ResponsibleParty type:${rp?.'responsiblePartyType'}"
   }
**/
    static mapping = {
        id generator: 'assigned'
        tablePerHierarchy false
    }

}