简体   繁体   中英

grails how to create a trigger on a relational table (many to many)

我知道beforeInsert,beforeUpdate和beforeDelete事件应该是可能的,但是有没有更方便的方法?

GORM does not provide a mechanism for creating a trigger in a relational database. The specifics of how to create a trigger in your database will depend on what database you are using, but GORM won't be involved in that.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM