jakartaee / jakartaee/persistence

@CurrentTimestamp

Open
#49 8 comments 0 reactions 0 assignees View on GitHub
Priority: Major Type: Sub-task
Dominant language
Java
Stars
267
Forks
78
Avg merge
1d 6h
Merged PRs (30d)
13

Description

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.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by reviewing the persistence project's existing annotation and transaction timestamp behavior; done means defining @CurrentTimestamp so one transaction-start timestamp is consistently injected into all annotated data fields.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.