0
삭제는 우리가 실수 팀과 createBy - 사용자를 연결이 GORM-클래스Grails를 -> 문제
class Team {
static hasMany = [users: User]
User createdBy // User who created this Team
}
class User {
static belongsTo = [team: Team]
}
Grails의이 말. 팀을 지우면 Grails는 createdBy-User 로의 삭제를 계단식으로 수행하지 않습니다.
어떻게 방지 할 수 있습니까?