JDBC 连接 PostgresQL报HeuristicMixedException处理

     通过JDBC连接 PostgresQL 会出现HeuristicMixedException异常问题,发生该问题原因是由于:PostgreSQL prepared transactions已达到最大值,所以才出现该问题需修改prepared transactions最大值。

     解决该问题的方法:在PostgreSQL 配置文件postgresql.conf修改max_prepared_transactions值,修改成与max_connections一样大小的值即可。[注:该方法经过测试可用]

     [链接]http://fogbugz.atomikos.com/default.asp?community.6.741.3

猜你喜欢

转载自liuhd2010.iteye.com/blog/1681684