In setKey there is wrong syntax for PostgreSQL. "user" (the default column name) is keyword in PostgreSQL and should be escaped (ie. every operation with columns should be escaped, of course :).
I am sending a very simple patch against 1.4.19 version
P.S. this could also be relevant http://sourceforge.net/tracker/index.php?func=detail&aid=521833&group_id=311&atid=300311