Waldemar Biller wants to merge 1 commit from /u/wbiller/dbunit/ to master, 2024-12-28
I ran into a ClassCastException when using the oid datatype and the HikariCP connection pool. The getSqlValue already uses connection.unwrap, so I gave it a try in in a custom implementation of setSqlValue, and it worked. That's why I decided to use connection.unwrap in setSqlValue as well.
| Commit | Date | |
|---|---|---|
|
[7edbe5]
(HEAD, fix-connection-unwrap, master)
by
Use connection.unwrap to get PGConnection |
2024-12-28 11:39:42 | Tree |
Thank you for fixing this issue and creating an MR! Much appreciated.
Agreed, your fix parallels the getSqlValue() fix done a few years ago in commit c4d9b1f7.
Please let me know if you have interest in making more changes.