Include the causing DDL-statement into the message of org.hibernate.tool.schema.spi.CommandAcceptanceException

Description

Currently it is difficult to identify the DDL-statement which has caused an error during a schema-management-operation, especially when using org.hibernate.tool.schema.internal.ExceptionHandlerCollectingImpl as exception-handler (where the errors are reported after all the DDLs have been executed).

Environment

None

Status

Assignee

Unassigned

Reporter

Barnabas Bodnar

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

Components

Affects versions

Priority

Minor
Configure