Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-2434

Generate and include the JPA metamodel for the JPA appender

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.11.1
    • None
    • Appenders
    • None

    Description

      After managing to get Log4j to insert the log events in a DB using JPA, I'm trying to query them using typesafe Criteria queries.

      The problem is that since my entity extends BasicLogEventEntity, the generated metamodel also extends the metamodel for BasicLogEventEntity, which doesn't exist.

      Reading HHH-8711, I see it's not possible for the generator to process classes inside jars, hence the request to generate them and include them in the jar.

      Attachments

        Activity

          People

            Unassigned Unassigned
            shadow Andrei Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: