Treat BIT if reported by ResultSetMetaData like BOOLEAN
This commit is contained in:
parent
c9a526999a
commit
59fbdb9039
|
@ -44,7 +44,9 @@ public class JdbcTypeDescriptorBaseline {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void prime(BaselineTarget target) {
|
public static void prime(BaselineTarget target) {
|
||||||
target.addDescriptor( BooleanTypeDescriptor .INSTANCE );
|
target.addDescriptor( BooleanTypeDescriptor.INSTANCE );
|
||||||
|
// ResultSetMetaData might report BIT on some DBs, so we need to register the boolean type descriptor for that code
|
||||||
|
target.addDescriptor( Types.BIT, BooleanTypeDescriptor.INSTANCE );
|
||||||
target.addDescriptor( BigIntTypeDescriptor.INSTANCE );
|
target.addDescriptor( BigIntTypeDescriptor.INSTANCE );
|
||||||
target.addDescriptor( DecimalTypeDescriptor.INSTANCE );
|
target.addDescriptor( DecimalTypeDescriptor.INSTANCE );
|
||||||
target.addDescriptor( DoubleTypeDescriptor.INSTANCE );
|
target.addDescriptor( DoubleTypeDescriptor.INSTANCE );
|
||||||
|
|
Loading…
Reference in New Issue