Re: [JBoss-user] Auto Incrementing Primary Key with PostgreSQL a ndJBoss

2001-07-27 Thread Ludovic Orban
How would you choose the next key manually ? I mean: if the field was just an integer (not auto-incr), how would you get the value of the next primary key ? Ludovic --On vendredi 27 juillet 2001 11:47 +0200 Hermann RANGAMANA <[EMAIL PROTECTED]> wrote: > It works only if you decide to gener

RE: [JBoss-user] Auto Incrementing Primary Key with PostgreSQL a ndJBoss

2001-07-27 Thread Ludovic Orban
And how to perform this with CMP ? Ludovic --On vendredi 27 juillet 2001 10:27 +0200 Federico Vesco <[EMAIL PROTECTED]> wrote: > Hi. > Maybe someone might be interested to the solution I adopted: > > private Integer insertRow (String projectName,int budget,java.sql.Date > start,java.sql.Date