Skip to content

MySql batcher disables db exception translation #1604

Closed
@fredericDelaporte

Description

@fredericDelaporte

When an exception occurs in the database provider layer, NHibernate has a mechanism for translating it to a common format, the GenericADOException.

This mechanism is disabled when the MySql batcher is used, because this batcher catches the provider exception and encapsulates them in a HibernateException, which is ignored by NHibernate translation mechanism.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions