Marco Sabato (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HHH-15922 (
https://hibernate.atlassian.net/browse/HHH-15922?atlOrigin=eyJpIjoiYmZlZW...
)
Re: MappingException is thrown for @JoinColumn with referencedColumnName on a
@SecondaryTable - Composite Key (
https://hibernate.atlassian.net/browse/HHH-15922?atlOrigin=eyJpIjoiYmZlZW...
)
Ciao Marco, grazie millie for for your investigation and effort.
With your explanations I was able to understand the problem. Therefore I adapted my
example but I have still a problem.
I have created another example with a minimum setup to isolate my problem. This time I
also used better readable names. 😉
This is what I’m trying to achieve:
Here the testcase:
hibernate-orm-6-HHH-15111-Example2.zip (
https://hibernate.atlassian.net/secure/attachment/50164/50164_hibernate-o...
)
Here the error-output:
I guess that hibernate has to create “on c1_ 1.sequence=d1_0.sequence” instead.
But maybe this is also not allowed in general or I did something wrong. Would be very nice
if you can have once again a look to that.
Grazie
Marco
(
https://hibernate.atlassian.net/browse/HHH-15922#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-15922#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100214- sha1:b03f6a4 )