Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8894991
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T23:39:15+00:00 2026-06-14T23:39:15+00:00

In our application, we use a graph persistence library which do not implement JPA

  • 0

In our application, we use a graph persistence library which do not implement JPA entity listeners behaviours. In other words, a method annotated with @PrePersist will never be called.

As we discovered the need for such a behaviour, I would like to know if there is a java library that could ease things a little … as an example by returning me a list of objects/methods that need to be called as @PrePersist elements. Do you know such libraries ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T23:39:16+00:00Added an answer on June 14, 2026 at 11:39 pm

    You can try Reflections

    Reflections scans your classpath, indexes the metadata, allows you to query it on runtime and may save and collect that information for many modules within your project.

    Using Reflections you can query your metadata such as:

    • get all subtypes of some type

    • get all types/methods/fields annotated with some annotation, w/o annotation parameters matching

    • get all resources matching matching a regular expression

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In our Spring application we use clustered Hibernate Search with ActiveMQ which sets up
In our application we use a general function to create jQuery dialogs which contain
Our application needs to use (read-only) a couple different persistence units pointing to different
Our PHP application makes use of json_encode($myObject) a lot, in conjunction with the mustache
Our application used to make use of a common base form that all forms
We use OpenFileDialog across our application to select files. So far, we never used
We are planning to use HTML 5 's Application cache in our application for
We are in the process of migrating our ASP.NET application to use Jquery instead
we use super-long Hashes for the Registration of new Users in our Application. The
Sometimes in order to make our application more responsive and fast, we use client

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.