Details
-
Work Item
-
Resolution: Unresolved
-
Minor
-
None
-
All
-
GreenHopper Ranking:0|i1wjnv:
-
9223372036854775807
-
Small
Description
Record.Builder api work with primitive types :
withInt(String, int)
As a result, a call builder.withInt("field", null) will compile but throw a NPE.
it would be better to have
withInt(String, Integer)
Then, a call builder.with("field", null) will store a null.
And, for non null value, int is boxed in Integer to be store on a Map .. So, result would be same.
Attachments
Issue Links
- duplicates
-
TCOMP-2021 Missing logic when handling null date values in Record
- Done