Grails - Self Join
Posted
by WaZ
on Stack Overflow
See other posts from Stack Overflow
or by WaZ
Published on 2010-03-22T14:37:46Z
Indexed on
2010/03/22
14:41 UTC
Read the original article
Hit count: 413
Hi,
When I write the following class, I get the following compilation error:
could not resolve property
How can I achive the following:
class Employee{
String Name
String Email
Employee Manager
static hasMany = [desginations:Designation]
static constraints = {
Name(unique:true)
Email(unique:true)
}
Thanks, Much appreciated.
© Stack Overflow or respective owner