Wrong table for formula if its property is mapped on a secondary table

Description

When a property is mapped to a secondary table, and that property has a formula, Hibernate assumes that the formula refers to columns in the primary table. It should instead refer to columns in the secondary table.

Environment

None

Assignee

Gail Badner

Reporter

Gail Badner

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