{h-schema} is not replaced in SQLDelete, SQLInsert and SQLUpdate

Description

When using custom insert/update/delete queries, they are used as they are entered by the user. There is no replacement of {h-schema} placeholder for the schema.
A simple test would be to annotate any entity with @SQLDelete and define a query with {h-schema} preceding the tables.

Environment

None

Activity

Show:
Chris Cranford
August 9, 2016, 1:05 PM

, Hibernate 4.3.x is not being actively maintained any longer. Did you get a chance to test whether this is an issue for 5.x branch?

Laabidi Raissi
August 9, 2016, 1:16 PM

Hi Chris,
Actually I didn't test it for real but from the code I saw in AbstractEntityPersister in version 5.2.1 I think the issue is still there. I will check it and update the JIRA and Test case later today

Laabidi Raissi
August 9, 2016, 8:29 PM

Chris, I added new PR in version 5.1

Vlad Mihalcea
October 24, 2017, 1:48 PM

Reworked Pull Request.

Assignee

Vlad Mihalcea

Reporter

Laabidi Raissi

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure