Skip to content

Instantly share code, notes, and snippets.

@mfollett
Created August 1, 2011 21:09
Show Gist options
  • Save mfollett/1119009 to your computer and use it in GitHub Desktop.
Save mfollett/1119009 to your computer and use it in GitHub Desktop.
A class
package example.bug
class A {
static hasMany = [bItems:B]
static mapping = {
table schema: 'bug_example'
bItems joinTable: [name: 'a_b', column: 'b_id']
version false
}
static constraints = {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment