gpt4 book ai didi

grails - Grails-验证传入数据和持久实例

转载 作者:行者123 更新时间:2023-12-02 15:26:28 26 4
gpt4 key购买 nike

在阅读“Grails权威指南2”时,我试图了解grails验证机制。该书指出,如果在验证期间发生类型错误,则:

Grails automatically sets the persistent instance to read-only so it cannot persist unless you yourself explicitly make it persist...



这个持久实例是什么?是我可能要尝试保存到持久性存储中的域对象实例吗?

最佳答案

Is it the domain object instance that I might be about to try to save to persistent storage?



是。

关于grails - Grails-验证传入数据和持久实例,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26792706/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com