Skip to content

susannej/grails-gorm-ja_nein_type

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

grails-gorm-ja_nein_type

transforms a db character field with 'J' and 'N' values to a grails-domain-class field of type boolean (More or less a german representation of the 'yes_no' type.)

true = 'J',

false = 'N'

Using:

package myPackage

class MyClass implements Serializable {
	
	boolean finished
	
	static mapping = {
		finished type: JaNeinType
  }
}

About

transforms a db character field with 'J' and 'N' values to a grails-domain-class field of type boolean

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages