Re: [hibernate-dev] Hibernate Commons project

2017-02-08 Thread Emmanuel Bernard
> On 7 Feb 2017, at 12:03, Guillaume Smet wrote: > > Hi, > > On Mon, Feb 6, 2017 at 4:21 PM, Emmanuel Bernard > wrote: > On the license, I think ASL 2.0 is the best for such project. > > As we discussed it in Lisbon, we might "copy" (using Maven) sources from an

Re: [hibernate-dev] [HV/HSEARCH] Free form

2017-02-08 Thread Emmanuel Bernard
> On 7 Feb 2017, at 11:17, Gunnar Morling wrote: > > Emmanuel, > > In your PoC, how would a complete tree-like structure be traversed? > It's not clear to me, who is driving StructureTraverser, i.e. which > component will call processSubstructureInContainer() et al. when > traversing an entire

Re: [hibernate-dev] Behaviour of validation mode "auto" in case of error during validator factory bootstrap

2017-02-08 Thread Emmanuel Bernard
Sounds good to me. > On 7 Feb 2017, at 11:53, Gunnar Morling wrote: > > So the issue is a more general one than I thought. > > We'll run into the same situation, too, when there is an error in BV's > validation.xml or any constraint mapping file (e.g. a reference to a > non-existent MessageInter

[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

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 Vlad Mihalcea
Hi, You can send us a Pull Request on GitHub with a test case that replicates it, 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

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
Hi Vlad, I have created the following pull request with the test case: https://github.com/hibernate/hibernate-orm/pull/1786 Thanks, Marcello On 8 February 2017 at 15:35, Vlad Mihalcea wrote: > Hi, > > You can send us a Pull Request on GitHub with a test case that replicates > it, so we can dis