gorm - Mapping legacy domain class using Grails -


i trying map legacy domain class grails class, when table generated, field associated legacy class tinyblob, , not bigint linked id, , foreing key stuff.

class newclass implements serializable {    grailsentitya grailsentitya   grailsentityb grailsentityb    legacyentity legacyentity  } 

the table has foreing keys grailsentitya , grailsentitya not legacyentity, type tinyblob, without relationship legacyentity table.

is possible this? how?


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

ruby - Nesting modules inside of a Rails eninge gem -

Eclipse formatter for java ending braces -