R.V.RaguPrashanth
New member
Greetings Today !!!!!!!!!!!!!!!
class Album
{
String title
static hasMany = [songs:Song]
static belongsTo = [artist:Artist]
static mapping =
{
songs cascade: 'delete'
}
}
what is the usage of cascade: 'delete' function specified in Domain class.
class Album
{
String title
static hasMany = [songs:Song]
static belongsTo = [artist:Artist]
static mapping =
{
songs cascade: 'delete'
}
}
what is the usage of cascade: 'delete' function specified in Domain class.