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)

Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

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

Support persisting a field serialised into a local file

Created: 18/Nov/13 11:59 AM   Updated: 19/Nov/13 10:28 AM   Resolved: 18/Nov/13 12:02 PM
Component/s: ORM, Schema
Affects Version/s: None
Fix Version/s: 3.2.8

 Description  « Hide
Instead of just persisting everything into an RDBMS, large objects could be serialised to disk.

Andy Jefferson added a comment - 18/Nov/13 12:02 PM
SVN trunk has this now. Make sure the field is Serializable and that it has the metadata extension "serializeToFileLocation" set to the name of a folder where this field value should be stored. This will then create files in this folder with the filename being the object "id" of the owning object. Obviously this means that we can only have a single field per class persisted per folder, so just use a different folder per field if you have multiple fields per class

Andy Jefferson made changes - 18/Nov/13 12:02 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 19/Nov/13 10:28 AM
Status Resolved [ 5 ] Closed [ 6 ]