Selector methods can produce beans and simple classes, but can't produce records. RecordFactory enables production of records from Selector and other code paths that use ObjectFactory.getFactory().
Remove ObjectFactory.handleArray() and all implementations. Arrays are lame and this method was called in exactly one place, and that code doesn't even care about arrays.
Clean up some warnings and an NPE waiting to happen.
Rationale
Selector
methods can produce beans and simple classes, but can't produce records.RecordFactory
enables production of records from Selector and other code paths that useObjectFactory.getFactory()
.Remove
ObjectFactory.handleArray()
and all implementations. Arrays are lame and this method was called in exactly one place, and that code doesn't even care about arrays.Clean up some warnings and an NPE waiting to happen.