Marco Belladelli (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=637b480...
) *commented* on HHH-16093 (
https://hibernate.atlassian.net/browse/HHH-16093?atlOrigin=eyJpIjoiNWU1Yz...
)
Re: UnknownTableReferenceException: Unable to determine TableReference
(`PM_SERVICE_GROUP`) for
`com.frontierssys.infrastructure.core.framework.persistence.model.Service.serviceMapping.{fk-target}
(
https://hibernate.atlassian.net/browse/HHH-16093?atlOrigin=eyJpIjoiNWU1Yz...
)
Hello, thanks for reporting the problem and providing a reproducer!
Looks like you have a @OneToMany(mappedBy="serviceGroup") association inside
your Service entity, but the mappedBy property refers to another type ( ServiceGroup ). I
think it should be @OneToMany(mappedBy="service") instead.
Same thing for ServiceMethod , it should be
@OneToMany(mappedBy="serviceMethod").
(
https://hibernate.atlassian.net/browse/HHH-16093#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16093#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:c33f0bb )