有时,您需要一个简单的验证点,但是有时您需要条件语句,还有时您需要添加一个延迟或者循环。
Sometimes, you can get by with a simple verification point, but sometimes you need conditionals, and sometimes you need to add a delay or a loop.
这就是延迟加载,即尽可能长的延迟查询语句的执行。
This is lazy loading, or deferring the query as long as possible.
在多个查询语句的执行过程中需要保持数据库连接,否则会抛出一个延迟加载异常,这将导致数据出现问题。
Database connection needs to be maintained for the duration of the multiple query cycle else a lazy loading exception is thrown, resulting in inadequate use of resources.
应用推荐