From: <glassfish_at_javadesktop.org>
Date: Sun, 03 Aug 2008 16:39:23 PDT
It's interesting you're having any success at all, since the (unless it has been update) the stock Postgres support in Toplink Essentials doesn't even support SEQUENCE.
However, there is a solution. Luckily, I even wrote it up and posted it to the FAQ a long time ago.