更改发生在数据库上,所以WebSphere不知道已经发生了更改,而且在下一次从池中检索连接时可能无法重置事务隔离级别。
The change happens on the database, so WebSphere is not aware that it changed and might not reset the transaction isolation level the next time the connection is retrieved from the pool.
单元测试意味着在隔离环境中运行,所以不会运行数据库和 Web 服务器,最重要的是不会发生与 Grails 相关的元编程。
Unit tests are meant to run in isolation, which means that no database is running, no Web server is running, and — most important — no Grails-related metaprogramming occurs.
所以,在这个系列的下一篇文章中,我们会探讨 Vim 的简单插件架构,它允许您析出 .vimrc 的一部分,并将其隔离在单独的模块中。
So, in the next article in this series we’ll explore Vim’s simple plug-in architecture, which allows you to factor out parts of your .vimrc and isolate them in separate modules.
应用推荐