is there any unit test that needs to be changed? If not, is there an easy way to add a test for this?
There is no existing unit test for DBTypes class. The way current code is structured, each method takes ResultSet or ResultSetMetaData makes it little harder to add unit test without refactoring the code.
There is no existing unit test for
DBTypes
class. The way current code is structured, each method takesResultSet
orResultSetMetaData
makes it little harder to add unit test without refactoring the code.I have verified the fix manually on cluster: