Markus Heiden (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *updated* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiZDcwZTA4ZThk...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-15713?atlOrigin=eyJpIjoiZDcwZT...
) HHH-15713 (
https://hibernate.atlassian.net/browse/HHH-15713?atlOrigin=eyJpIjoiZDcwZT...
) UnknownTableReferenceException on @ElementCollection of @Embeddable contain @MayToOne (
https://hibernate.atlassian.net/browse/HHH-15713?atlOrigin=eyJpIjoiZDcwZT...
)
Change By: Markus Heiden (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
When “Hibernate.initialize” I get a “UnknownTableReferenceException: Unable to determine
TableReference (`SubPlan`) for `Plan.transfers.events`”.
Reduced code:
{noformat}@Entity
public class Plan {
@ElementCollection
@CollectionTable(name = "TRANSFER", joinColumns = @JoinColumn(name =
"PLAN_ID"))
private List<Transfer> transfers;
}
@Embeddable
public class Transfer {
@ManyToOne
private SubPlan subPlan;
}
@Entity
public class SubPlan {
@ManyToMany
private List<Event> events;
}
@Entity
public class Event {}{noformat}
(
https://hibernate.atlassian.net/browse/HHH-15713#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-15713#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#100210- sha1:583150f )