Re: [GENERAL] Postgresql and GlassFish - cannot commit when autoCommit is enabled

2015-05-09 Thread Bill Moran
On Thu, 07 May 2015 10:07:44 +0300 ? wrote: > > I have postgresql 9.4 and glassfish 4.1. Besides I use MyBatis inside EJB. > Now I try to make select from table and this is what I get: > javax.resource.spi.LocalTransactionException:Cannot commit when autoCommit is > enabled.

[GENERAL] Postgresql and GlassFish - cannot commit when autoCommit is enabled

2015-05-07 Thread Александр Свиридов
I have postgresql 9.4 and glassfish 4.1. Besides I use MyBatis inside EJB. Now I try to make select from table and this is what I get: javax.resource.spi.LocalTransactionException:Cannot commit when autoCommit is enabled. at com.sun.gjc.spi.LocalTransactionImpl.commit(LocalTransactionImpl.