datanucleus / datanucleus-rdbms

DataNucleus support for persistence to RDBMS Datastores
30 stars 67 forks source link

ArgType not cached for null value in first Result in ResultSet #453

Closed nicholas-os closed 2 years ago

nicholas-os commented 2 years ago

In the ResultClassROF class, if the first result in ResultSet has a null value field, the argType for the setMethod of the mapped class is not cached. When a followup result has a value set, type conversion fails because the argType in cached ResultClassSetMethodSetter is null.

test-jdo.zip

nicholas-os commented 2 years ago

Duplicate of #454