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: NUCCORE-762
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

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

Support specification of null-indicator-column/null-indicator-value via extension (for JPA)

Created: 07/Aug/11 12:25 PM   Updated: 03/Oct/11 07:37 AM   Resolved: 07/Aug/11 12:27 PM
Component/s: MetaData
Affects Version/s: None
Fix Version/s: 3.0.1

 Description  « Hide
JPA doesn't provide a mechanism for identifying when an embedded object was persisted as null, and hence to be retrieved as that. We should support
@Extension(key="null-indicator-column", value="...")
@Extension(key="null-indicator-value", value="...")
to handle this

Andy Jefferson added a comment - 07/Aug/11 12:27 PM
SVN trunk supports this now by specifing @Extension on the field/property that is embedded

Andy Jefferson made changes - 07/Aug/11 12:27 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 03/Oct/11 07:37 AM
Status Resolved [ 5 ] Closed [ 6 ]