New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hibernate.*
properties in Hibernate-ORM extension
#12724
Comments
I have a similar problem: I need to register a custom |
+1 to have way to observe merge events. But as @famod linked to, I believe that we shouldnt' expose the configurfation properties but rather expose a simple way to register listeners and customized components linked to the persistence unit. I definitely don't want to "forward" all |
Could you please elaborate? It works with a |
May I respectfully suggest considering the addition of the Explanation/Example: https://dzone.com/articles/hibernate-debugging-where-does |
I also have the Requirement to register a StatementInspector. |
Description
I am missing a way to configure
hibernate.event.merge.entity_copy_observer
(see) fromapplication.properties
.Using a
persistence.xml
I can set all kinds of properties but as I read, in terms of Quarkus it's "the old way" of doing things and not encouraged.Implementation ideas
If I understand correctly,
quarkus.hibernate-orm.*
properties are global. So where I could sethibernate.show_sql
per persistence unit before, I can now only setquarkus.hibernate-orm.log.sql
for all datasources using Hibernate? It might be useful to set these properties per datasource. Also I think it'd be better to implement such properties in a pass-through way, so it's no question anymore whether Hibernate property X can be specified viaapplication.properties
.The text was updated successfully, but these errors were encountered: