Browse Source
Prior to this commit, the JDBC KeyHolder API only supported keys of type Number. However, a generated key can be a UUID or something else, and developers shouldn't have to go manually through complex collections to access it. This commit adds a new getKeyAs(Class<T> keyType) method to the KeyHolder API that allows the user to specify the key type. Closes gh-24655pull/25260/head
3 changed files with 52 additions and 5 deletions
Loading…
Reference in new issue