Bug #117579 Contribution: Return UUID from ResultSet#getObject()
Submitted: 26 Feb 13:48 Modified: 7 Jul 23:31
Reporter: OCA Admin (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / J Severity:S3 (Non-critical)
Version:8.0 OS:Any
Assigned to: CPU Architecture:Any
Tags: Contribution

[26 Feb 13:48] OCA Admin
Description:
This bug tracks a contribution by Iwao Abe (Github user: harawata), as described in http://github.com/mysql/mysql-connector-j/pull/115

How to repeat:
See description

Suggested fix:
See contribution code attached
[26 Feb 13:48] OCA Admin
Contribution submitted via Github - Return UUID from ResultSet#getObject() 
(*) Contribution by Iwao Abe (Github harawata, mysql-connector-j/pull/115#issuecomment-2678757768): I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Contribution: git_patch_2353455402.txt (text/plain), 11.52 KiB.

[7 Jul 23:31] Daniel So
Posted by developer:
 
Added the following entry to the Connector/J 9.4.0 changelog: 

"You can now retrieve a UUID from a ResultSet as a java.util.UUID object by calling getObject(column, UUID.class), instead of having to use different getters for different column types. Thanks to Iwao Abe for contributing the code."