Support for more automatic values besides @GeneratedId
[JPA_SPEC-49] @CurrentTimestamp Created: 23/Feb/13 Updated: 05/Apr/13
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
New annotation "@CurrentTimestamp" should inject the current timestamp of a transaction into a data field.
The annotation will guarantee that at the transaction start the timestamp is produced once, so all uses of the annotation within the same transaction will guarantee to inject the same timestamp value.
This is another essential business need, as sometimes transactions run rather long, but all written data shall have synchronized timestamps.