HHH-17808 NPE when null vector is read with VectorJdbcType
This commit is contained in:
parent
c956208926
commit
85a2752c1d
|
@ -68,6 +68,9 @@ public class VectorJdbcType extends ArrayJdbcType {
|
||||||
}
|
}
|
||||||
|
|
||||||
private float[] getFloatArray(String string) {
|
private float[] getFloatArray(String string) {
|
||||||
|
if ( string == null ) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
if ( string.length() == 2 ) {
|
if ( string.length() == 2 ) {
|
||||||
return EMPTY;
|
return EMPTY;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue