Hi,

now that I got working the receiving point and inserting sort works.. but how do I use autoincrement thing in postgres? (using cocoon in connection pooling).

inserting when id is not set, inserts 0 as id. which of course causes error.

I tried to look that ojb example from wiki, but it didn't use cocoon connection pool. Example file in cocoon source didn't have any autoincrement in it.

Postgresql table is like this:
create table category ( id serial, parent integer );

Thanks, Joose

--
"Always remember that you are unique, just like everyone else!"
* http://iki.fi/joose/ * [EMAIL PROTECTED] * +358 44 561 0270 *


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to