Announcement Announcement Module
Collapse
No announcement yet.
Display Hibernate Envers lastRevisionId in header/footer Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Display Hibernate Envers lastRevisionId in header/footer

    Hi,
    I was trying to find the solution, but no luck. Hope someone has an idea how to do the following:
    - I have my CustomRevisionEntity class that extends DefaultRevsionEntity
    - I would like to display the lastRevisionId and revisionDate properties from CustomRevisionEntity in my header/footer.jspx

    If this is too envers specific, I can try to generalise.
    Upon authentication, I would like to execute DB query (finder/jpql) from one of my entity classes and put the query result into one or more session attributes. Then I guess I can access the session attribute through:
    pageContext['session'] on header/footer.hspx.

    Could you please suggest the best way to do this?
    Thanks,
    Milan
Working...
X