Re: connection problem using ibatis2.3+postgresql8.3+glassfish2 ( An I/O error occured while sending to the backend.; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException)

2009-09-10 Thread Larry Meadors
Probably a stale connection. Google for "org.postgresql.util.PSQLException: An I/O error occured while sending to the backend" Larry On Thu, Sep 10, 2009 at 8:01 PM, Donmis wrote: > > HELP HELP!!! > :,( > -- > View this message in context: > http://www.nabble.com/connection-problem-using-ibat

Re: connection problem using ibatis2.3+postgresql8.3+glassfish2 ( An I/O error occured while sending to the backend.; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException)

2009-09-10 Thread Donmis
HELP HELP!!! :,( -- View this message in context: http://www.nabble.com/connection-problem-using-ibatis2.3%2Bpostgresql8.3%2Bglassfish2-%28-An-I-O-error-occured-while-sending-to-the-backend.--nested-exception-is-com.ibatis.common.jdbc.exception.NestedSQLException%29-tp25394317p25394320.html Sent

connection problem using ibatis2.3+postgresql8.3+glassfish2 ( An I/O error occured while sending to the backend.; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException)

2009-09-10 Thread Donmis
I have developed a web application required database both oracle and postgresql. my oracle works fine so far, but PostgreSQL got some problems. I am using Ibatis 2.3 with PostgreSQL 8.3 on glassfish v2. after the Web Application deployed, initially everything looks ok, but after a short time, alwa

Re: Reusing @Results annotation

2009-09-10 Thread Guy Rouillier
Clinton Begin wrote: I put a lot of thought into that... I landed on this position: Java Annotations suck, and aren't very good at much. The very little that they are good for are simple things. Therefore, I tried to keep the annotations limited in scope and targeted only simple problems.

Re: Reusing @Results annotation

2009-09-10 Thread Clinton Begin
I put a lot of thought into that... I landed on this position: Java Annotations suck, and aren't very good at much. The very little that they are good for are simple things. Therefore, I tried to keep the annotations limited in scope and targeted only simple problems. If you have advanced needs,

RE: connecting to datebase

2009-09-10 Thread I L
look into mysql autoReconnect e.g. > From: ode...@jpost.com > To: user-java@ibatis.apache.org > Subject: connecting to datebase > Date: Thu, 10 Sep 2009 14:39:06 +0300 > > Hi! > I have a problem with connection to the database. > I get com.mysql.jdbc.exceptions.jdbc4.CommunicationsException >

Reusing @Results annotation

2009-09-10 Thread Guy Rouillier
I'm new to iBatis, starting out with version 3. One common usage scenario we have is to run different queries that all return the same result type, sliced and diced different ways. Using XML, this is easy to achieve as I can have all selects refer to the same ResultMap. I can't figure out ho

connecting to datebase

2009-09-10 Thread Odelya YomTov
Hi! I have a problem with connection to the database. I get com.mysql.jdbc.exceptions.jdbc4.CommunicationsException I connect like this: