开发者

Updating database without seriously screwing things up?

I've built apps in the past where in order to test things, I've had to manually issue SQL to the database and then try to read these changes via Hibernate. The problem is that an error is always thrown when I try to do this. I have a theory that EhCache is the culprit, but I'm not sure. Is there a setting I can enable to prevent things from getting messed up when being accessed from mu开发者_C百科ltiple applications?


Disable your second level cache when testing

<property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜