Skip to content

Instantly share code, notes, and snippets.

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