Re: Injecting an iBatis DAO

2010-05-08 Thread Giorgio Vespucci
2010/5/8 Larry Meadors > On Fri, May 7, 2010 at 8:21 PM, Maciej Radochonski > wrote: > > From technical point of view it is ok, but I would suggest to keep all > the > > database related code in DAO class, because what are you doing here is > > mixing two layers that should be kept separate, BO

Re: interesting exception in 3.0

2010-05-08 Thread Clinton Begin
Hi Francois, I can't recreate this problem. I've verified in about 1000 unit tests with different configurations that close is being called. The only known and verified case of this was with the ManagedTransaction, not the JdbcTransaction. Perhaps you can put together a simple unit test with HS

Re: interesting exception in 3.0

2010-05-08 Thread François Schiettecatte
Clinton I understand, I am looking into it now, if I cant verify it before the weekend is over then I would say that something else is going on in my config. François On May 8, 2010, at 9:41 AM, Clinton Begin wrote: > Hi Francois, > > I can't recreate this problem. I've verified in about 10

How to correct the time out problem?

2010-05-08 Thread 陈抒
Hi, I get this error message after my service runs for some hours. Throwable occured in ResultFileHandler of Portage service: ### Error querying database. Cause: com.mysql.jdbc.exceptions. jdbc4.CommunicationsException: The last packet successfully received from the server was37995 seconds ago.