Error log messages should be included in CoreMessageLogger for i18n purpose

Description

I have found that in hibernate-core, multiple error level log messages are outputted directly without using jboss annotations. According to HHH-9839, they should all be fixed according to recommended approach to generate internationalizable error messages.

I list the files and lines of the problematic logging code here, along with the line number

hibernate-core/src/main/java/org/hibernate/id/enhanced/TableStructure.java (2 instances)

hibernate-core/src/main/java/org/hibernate/proxy/AbstractLazyInitializer.java (1 instance)

hibernate-core/src/main/java/org/hibernate/service/internal/AbstractServiceRegistryImpl.java (1 instance)

hibernate-core/src/main/java/org/hibernate/type/spi/TypeConfiguration.java (1 instance)

hibernate-core/src/main/java/org/hibernate/engine/internal/EntityEntryContext.java (3 instances)

Environment

None

Assignee

Unassigned

Reporter

Nemo

Fix versions

None

Labels

backPortable

None

Suitable for new contributors

Yes, likely

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Minor
Configure