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