How to get generated keys with commons dbutils?

前端 未结 2 1309
感情败类
感情败类 2021-01-18 03:48

I don\'t understand how to get auto generated keys with commons-dbutils?

2条回答
  •  孤独总比滥情好
    2021-01-18 04:23

    As a matter of fact I think it cannot be done with the current version of common-dbutils. A few months ago, when I was working for another company, I extented the QueryRunner with my own implementation.

    The request has been submitted to the DbUtils project, and there you can even find a viable implementation which I guess you could copy if you really need it.

    https://issues.apache.org/jira/browse/DBUTILS-54

提交回复
热议问题