Hibernate AttributeConverter fails if using custom query with JOIN

Description

Environment

spring boot 1.5.8.RELEASE
spring data jpa 1.5.8.RELEASE
hibernate-jpa-2.1-api-1.0.0.Final
hibernate-core-5.0.12.Final

Activity

Show:
Gail Badner
February 26, 2018, 8:51 PM

5.0 branch is no longer maintained. Please attach a runnable test case using master branch, that does not use Spring. You can find test templates at https://github.com/hibernate/hibernate-test-case-templates.

Bohdan Petrenko
February 27, 2018, 9:13 AM

I've updated hibernate to 5.2.12.Final in my project, but it didn't help. So I provide test case with hibernate 5.2.12.Final and without spring, that shows the problem.

I'm sorry that problem visible only from logs, but I don't know how to write correct unit tests in this case. So, don't forget to add `log4j.logger.org.hibernate.type.descriptor.sql.BasicBinder=TRACE` line to log4j.properties

Assignee

Unassigned

Reporter

Bohdan Petrenko

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Major
Configure