Re: [hibernate-dev] Issue with unidirectional one-to-many association with a join column that references a column that is not the primary key

2017-02-08 Thread Marcello Romano
t, so we can discuss and integrate it. > > Vlad > > On Wed, Feb 8, 2017 at 10:11 PM, Marcello Romano > wrote: > >> Hi, >> >> A one-to-many association is causing Hibernate to >> throw the following exception when loading an entity via >> Session.

[hibernate-dev] Issue with unidirectional one-to-many association with a join column that references a column that is not the primary key

2017-02-08 Thread Marcello Romano
Hi, A one-to-many association is causing Hibernate to throw the following exception when loading an entity via Session.get(domainClass, identifier), under the following conditions: 1. the association collection is annotated with @Fetch(FetchMode.JOIN) 2. the association's join column is referenci