HHH-12666 : Add documentation
This commit is contained in:
parent
9bb9e4bc38
commit
a790096965
|
@ -897,6 +897,12 @@ Whether the schema migration tool should halt on error, therefore terminating th
|
|||
`*hibernate.jdbc.sql_exception_converter*` (e.g. Fully-qualified name of class implementing `SQLExceptionConverter`)::
|
||||
The https://docs.jboss.org/hibernate/orm/{majorMinorVersion}/javadocs/org/hibernate/exception/spi/SQLExceptionConverter.html[`SQLExceptionConverter`] to use for converting `SQLExceptions` to Hibernate's `JDBCException` hierarchy. The default is to use the configured https://docs.jboss.org/hibernate/orm/{majorMinorVersion}/javadocs/org/hibernate/dialect/Dialect.html[`Dialect`]'s preferred `SQLExceptionConverter`.
|
||||
|
||||
`*hibernate.native_exception_handling_51_compliance*` (e.g. `true` or `false` (default value))::
|
||||
Indicates if exception handling for a `SessionFactory` built via Hibernate's native bootstrapping
|
||||
should behave the same as native exception handling in Hibernate ORM 5.1. When set to `true`,
|
||||
`HibernateException` will be not wrapped or converted according to the JPA specification. This
|
||||
setting will be ignored for a `SessionFactory` built via JPA bootstrapping.
|
||||
|
||||
[[configurations-session-events]]
|
||||
=== Session events
|
||||
|
||||
|
|
|
@ -903,9 +903,10 @@ public interface AvailableSettings extends org.hibernate.jpa.AvailableSettings {
|
|||
|
||||
/**
|
||||
* Indicates if exception handling for a SessionFactory built via Hibernate's native bootstrapping
|
||||
* should behave the same as in Hibernate ORM 5.1.
|
||||
* should behave the same as native exception handling in Hibernate ORM 5.1, When set to {@code true},
|
||||
* {@link HibernateException} will not be wrapped or converted according to the JPA specification.
|
||||
* <p/>
|
||||
* This setting will be ignored if the SessionFactory was built via JPA bootstrapping.
|
||||
* This setting will be ignored for a SessionFactory built via JPA bootstrapping.
|
||||
* <p/>
|
||||
* Values are {@code true} or {@code false}.
|
||||
* Default value is {@code false}
|
||||
|
|
Loading…
Reference in New Issue