阅读背景:

如何在多线程应用程序中使用Hibernate ?

来源:互联网 

I am trying to use Hibernate for a multi threaded application wherein each thread retrieves an object and tries to insert it into a table. My code looks like below. I have local hibernate Session objects per thread and in each InsertData I do beginTransaction and commit. I am trying to use Hibernate for a multi thread




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: