I have some problems with jdbc and postgresql 7.3.
I've developed a class java to read form file, to get interesting
information and to store them in database. The class gets connect with
postgrsql by jdbc (pg73jdbc3.jar) without problems. It does some
queries (select, update, insert) but a error happens in the same point.
The error message in the java class is:
Message: The backend has broken the connection. Possibly the action you
have attempted has caused it to close.
The query inserts data in the database and gets identificator by
I execute the query by psql and there isn't any problem. I check if the
query has been executed in postgresql by java class, and yes, it has
been executed correctly. But the data isn't got by java class.
There is a error message in postgresql:
FATAL: Socket command type unknown
I don't know what is happened. I've changed the query but the errors go
on. The query is executed in a method of the class and the error
appear after 5 queries are executed correctly in the same method.
I need help because I don't know where is the problem.
Thanks in advanced.
pgsql-jdbc by date
|Next:||From: Roger Pack||Date: 2006-01-19 22:00:15|
|Subject: error note|
|Previous:||From: Marc SCHNEIDER||Date: 2006-01-19 10:28:12|
|Subject: Where is the org.postgresql.jdbc3.Jdbc3ObjectFactory with the 8.x driver versions ?|