1.

How You Can Map Directly A Domain Class To An Specific Table In Your Db?

Answer»

in your DOMAIN CLASS:

class PERSON {

STATIC MAPPING = {
table 'people'///this is the mapping of the domain in the table
}
}

in your domain class:

class Person {

static mapping = {
table 'people'///this is the mapping of the domain in the table
}
}



Discussion

No Comment Found