If so how do I do it? I tried just using a declaration id type: 'int' but it got an error when calling Find on the class.
views:
60answers:
1
Q:
Migrating Rails app to Grails - Can I easily use an int for the ID field of all the domain classes?
A:
I believe you simply have to declare the id field as a member.
class MyDomainClass {
int id
}
Blacktiger
2009-12-13 21:09:10