cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joose Vettenranta <>
Subject OJB + postgresql + "autoincrement"
Date Tue, 20 Jul 2004 14:50:50 GMT

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 

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!"
* * * +358 44 561 0270 *

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message