Per unit envers config? #27971
-
It doesn't appear that the hibernate-envers plugin supports configuration on a persistence unit basis. Am I reading things right? Are there any plans to support this? Alternatively, would passing envers properties via the new quarkus.hibernate-orm."unit-name".unsupported-properties property work? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
@Traivor AFAICS, you can enable Envers per persistence unit. What exactly are you trying to do and can't? |
Beta Was this translation helpful? Give feedback.
-
@gsmet this does not appear to be possible: quarkus.hibernate-envers.db1.store-data-at-delete=true quarkus.hibernate-envers.db2.audit-table-suffix=_aud As far as I can tell you can only define envers properties at a global level, which isn't going to work very well if you have multiple persistence units which do envers differently from each other. |
Beta Was this translation helpful? Give feedback.
@Traivor The issue was discussed at #28133 and addressed by PR #28927 on
2022-10-31T10:20:22Z
.Can you mark this discussion as answered so it doesn't show up in the discussion tab as unanswered?