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
Issue Details (XML | Word | Printable)

Key: NUCRDBMS-306
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DataNucleus Store RDBMS

ObjectLiteral only caters for use to represent parameters, not values

Created: 28/Feb/10 06:20 PM   Updated: 17/Mar/10 08:52 PM   Resolved: 28/Feb/10 07:10 PM
Component/s: Queries
Affects Version/s: None
Fix Version/s: 2.0.2


 Description  « Hide
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 ...

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 28/Feb/10 07:10 PM
Now handles use as a literal representing a persistable value