2016-03-04 78 views
0

请告知可能导致此错误的原因(which is coming while downloading thousand of rows)。org.hibernate.exception.GenericJDBCException:无法初始化集合

错误:

org.jboss.util.NestedSQLException: Transaction TransactionImple < ac, BasicAction: afd014e:ebc0:56d64a1d:72 status: ActionStatus.ABORTED > cannot proceed STATUS_ROLLEDBACK; - nested throwable: (javax.transaction.RollbackException: Transaction TransactionImple < ac, BasicAction: afd014e:ebc0:56d64a1d:72 status: ActionStatus.ABORTED > cannot proceed STATUS_ROLLEDBACK) 
+0

我发现下载适用于像5或10这样的一些行,但很多都失败了。 –

回答

0

兄弟。显示你的一些代码。你如何连接到数据库,获取行? 恕我直言:您正在达到并发连接到数据库的限制。所以可能你开始在你的代码的某个地方进行交易,你没有正确地使用它。

相关问题