Skip to content
This repository was archived by the owner on Oct 3, 2025. It is now read-only.

The option not marked as depracted native_exception_handling_51_compliance #4

@Eccenux

Description

@Eccenux

The configuration option native_exception_handling_51_compliance seem to have been retired:
hibernate/hibernate-orm#3791

Yet the option still exists and is recommended in latests docs:
https://docs.jboss.org/hibernate/orm/current/userguide/html_single/Hibernate_User_Guide.html#:~:text=native_exception_handling_51_compliance

If your SessionFactory is built via Hibernate’s native bootstrapping, and you don’t want the Hibernate exceptions to be wrapped in the Jakarta Persistence PersistenceException, you need to set the hibernate.native_exception_handling_51_compliance configuration property to true. See the hibernate.native_exception_handling_51_compliance configuration property for more details.

Also the link in quoted information doesn't work any more.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions