From Anorm.scala, Magic's create function
val (statement, ok) = query.execute1(getGeneratedKeys=true)
val rs = statement.getGeneratedKeys();
It should then be the same when done via JDBC. I haven't tested
though.
BTW, how is your experience with Postgres+Anorm? I know mine isn't all
that pleasant
On Jul 19, 10:34 pm, Jonas <
jlpetters...@gmail.com> wrote:
> Often when I use database tables, I have one column with an auto
> incremented ID. When I do inserts to a table it is useful to know what
> ID the row just inserted got. InPostgreSQLthis can be returned on an