HQL update statement fails if entity is inside a package of format in.mycomany.domain.Entity

Description

My company domain is of the format mycomany.in

I have changed my project's package from com.mycompany -> in.mycompany to keep it consistent with my company's domain.

After the migration, hibernate update queries are failing saying

The actual query that ran was of this format

Here is the cleaned log

This error occurs only for update statement, but not for select for some reason.

This error occurs in org.hibernate.hql.internal.ast.QueryTranslatorImpl in the following section.

Environment

I am using Hibernate via Querydsl

Status

Assignee

Andrea Boriero

Reporter

Ashok Koyi

Fix versions

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure