Unable to fill pool (no buffer space available)

前端 未结 2 2406
不知归路
不知归路 2021-02-20 16:41

I\'m using Wildfly 8.2 and fire a series of DB requests when a certain web page is opened. All queries are invoked thru JPA Criteria API, return results as expected - and - none

2条回答
  •  执念已碎
    2021-02-20 17:18

    Try adding this Hibernate property:

    after_transaction
    

    By default, JTA mandates that connection should be released after each statement, which is undesirable for most use cases. Most Drivers don't allow multiplexing a connection over multiple XA transactions anyway.

提交回复
热议问题