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: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Kaarel Kann
Votes: 0
Watchers: 0

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

Timestamp maximum precision is milliseconds

Created: 13/Mar/14 04:34 PM   Updated: 02/Apr/14 04:28 PM   Resolved: 14/Mar/14 10:56 AM
Component/s: Types
Affects Version/s: 3.2.11
Fix Version/s: 4.0.0.m2

File Attachments: 1. Java Source File (0.6 kB)
2. Java Source File (3 kB)

Environment: Any

Severity: Development

 Description  « Hide
Timestamp parsing removes micro and nanoseconds from the timestamp object even though JDBC drivers and database itself can handle micro or nanoseconds.

Kaarel Kann added a comment - 13/Mar/14 04:36 PM
Added test files: Person and SimpleTest

Kaarel Kann made changes - 13/Mar/14 04:36 PM
Field Original Value New Value
Attachment [ 12051 ]
Attachment [ 12052 ]
Andy Jefferson added a comment - 14/Mar/14 10:56 AM
GitHub master passes on that. Also the provided test is incomplete, doesn't test persistence of the Timestamp nanos.

Andy Jefferson made changes - 14/Mar/14 10:56 AM
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 4.0.0.m2 [ 12121 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 02/Apr/14 04:28 PM
Status Resolved [ 5 ] Closed [ 6 ]