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
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
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