DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to.
DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued

ObjectLiteral only caters for use to represent parameters, not values

org.datanucleus.store.rdbms.sql.expression.ObjectLiteral needs extending to handle object values. For example if we wanted (for whatever reason) to select a persistable object in the result clause, then this should select the PK field values in the SELECT. So if we had a persistable object with composite PK with a long and a String field, then this could appear as

SELECT 101, "Other" FROM MYTABLE ...

Description

org.datanucleus.store.rdbms.sql.expression.ObjectLiteral needs extending to handle object values. For example if we wanted (for whatever reason) to select a persistable object in the result clause, then this should select the PK field values in the SELECT. So if we had a persistable object with composite PK with a long and a String field, then this could appear as
SELECT 101, "Other" FROM MYTABLE ...