Re: [Hibernate] saving to pgsql

2003-01-03 Thread Juozas Baliuka
postgres closes connection if it detects error in protocol, something like this can produce this error: char c = '\u'; String query = "select " + c; statement.execute(query);// error not detected by driver, server closes connection; I am not sure about all driver versions, but it must be possib

Re: [Hibernate] saving to pgsql

2003-01-03 Thread cheeser
Here's the pgsql log. See anything wrong? LOG: query: set autocommit = on; commit; LOG: query: set autocommit = off; LOG: query: select nextval ('uid_sequence') LOG: query: insert into CommentTable ( Value, DateEntered, PrimaryKey, subclass ) values ( null, null, 4, 'Comment' ) LOG: query

RE: [Hibernate] saving to pgsql

2003-01-03 Thread Gavin King
That "unexpected EOF" usually occurs if somehow the connection between client and database processes is broken (eg. the VM dies). What happens if you use a sequence, instead of hi/lo generation? (And remember that you can't use HiLoGenerator in an appserver) > -Original Message- > From