Oracle - return newly inserted key value

前端 未结 3 1433
栀梦
栀梦 2021-02-20 14:07

We have a table with a Primary Key that gets populated on insert by a trigger on the table - the trigger gets the next sequence number from a sequence we created for the table a

3条回答
  •  南方客
    南方客 (楼主)
    2021-02-20 15:00

    I think you are looking for a Callable Statement. Here's javadoc if you are trying to get to it from Java.

提交回复
热议问题