question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

LastModifiedBy and CreatedBy annotation

See original GitHub issue

Hi,

I recently moved from Spring data to Micronaut and I was trying to do auto-populated for createdBy and modifiedBy fields but it seems Micronaut data only supports @DateCreated and @DateUpdated.

Would it be possible to add it or guide me on how to do it myself?

Thanks

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
graemerochercommented, Apr 9, 2021
1reaction
meltzowcommented, Nov 26, 2020

hi, any news here?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How does @CreatedBy work in Spring Data JPA?
I used @CreatedDate on entity property and I see that it inserts date into db. I don't understand what is the purpose of...
Read more >
Spring Data JPA Auditing: Saving CreatedBy, CreatedDate ...
As you can see above I have used @CreatedBy, @CreatedDate, @LastModifiedBy and @LastModifiedDate annotation on respective fields.
Read more >
3. Auditing - Spring
1 Annotation based auditing metadata. We provide @CreatedBy , @LastModifiedBy to capture the user who created or modified the entity as well as ......
Read more >
Spring Data JPA - Using @CreatedBy And ... - LogicBig
This tutorial shows how to use @CreatedBy and @LastModifiedBy annotations to track who created and changed an entity. To use @CreatedBy and ...
Read more >
How to emulate @CreatedBy and @LastModifiedBy from ...
How to emulate @CreatedBy and @LastModifiedBy from Spring Data using the @GeneratorType Hibernate annotation. Last modified: Jan 22, 2019.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found