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.

Sort Order: Ascending order - Click to sort in descending order
Kaarel Kann added a comment - 13/Mar/14 04:36 PM
Added test files: Person and SimpleTest

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.