[hibernate-dev] [HSEARCH] Wrong query results when embedding *-to-many associations

2015-08-24 Thread Gunnar Morling
Hi, in the forum [1] a user runs into a variant of the old problem where boolean searches on different fields of the elements of an embedded association return wrong results due to hits in different elements of the collections. What is our recommendation/answer to this type of question? I've seen

[hibernate-dev] Query Parser Redesign

2015-08-24 Thread Steve Ebersole
Andrea, this is in relation to something you asked me on IRC today. Specifically in regards to FromClause and the fact that it maintains pointers to parent/children. As I said on IRC there is no intrinsic need (I do not foresee) for keeping this structure; I really only did that because FromCauseP

[hibernate-dev] 2 CI slaves down

2015-08-24 Thread Davide D'Alto
Hi, 2 of the 4 slaves we use for CI are currently down. Not sure what's the cause but I'm working on it. Cheers, Davide ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev

Re: [hibernate-dev] Hibernate ORM SQL generation

2015-08-24 Thread Steve Ebersole
I agree in the case where "the query includes more than one". However, there are definitely valid uses for these. Consider this case e.g... interface Auditable { String createdBy; Instant createdAt; String updatedBy; Instant updatedAt; } @Entity class Account implements Auditabl

Re: [hibernate-dev] Hibernate ORM SQL generation

2015-08-24 Thread Brett Meyer
In practice, when are unmapped inheritance queries typically used? I tend to see them only for bulk deletions, IIRC. But in general, I'd assume they're a product of "doing something incorrectly", especially if the query includes more than one. On 08/24/2015 08:40 AM, andrea boriero wrote: >

Re: [hibernate-dev] ORM 5.0 Final - delayed

2015-08-24 Thread Scott Marlow
On 08/20/2015 10:33 AM, Scott Marlow wrote: > Please let me know if you want me to do any testing before the release. Passed testing and merged into WildFly 10.0.0.Beta2. > > On 08/19/2015 02:34 PM, Steve Ebersole wrote: >> I am going to delay releasing 5.0 Final until tomorrow at earliest. The

Re: [hibernate-dev] Hibernate ORM SQL generation

2015-08-24 Thread Steve Ebersole
Another thing I think we ought to consider longer term is to replace the contracts in the org.hibernate.sqm.domain package with the javax.persistence.metamodel JPA model. However, for ORM we cannot do that yet due to a major prerequisite. Basically that would require the "melding" of hibernate-cor

Re: [hibernate-dev] Hibernate ORM SQL generation

2015-08-24 Thread Steve Ebersole
On Mon, Aug 24, 2015 at 8:00 AM John O'Hara wrote: > The split makes a lot of sense, should we have another module for the > criteria query SQM translation? > I personally think that makes no sense to do. As we only have one grammar for HQL and JPQL, does jpql come under the > hibernate-hql-pa

Re: [hibernate-dev] Published ORM docs partly still at CR2

2015-08-24 Thread Steve Ebersole
Those are the old docs. The rsync is unfortunately just not deleting them and afaik we have no way to ssh in there to clean them up. On Mon, Aug 24, 2015 at 8:11 AM Gunnar Morling wrote: > Hi, > > the docs at > > * http://docs.jboss.org/hibernate/orm/5.0/devguide/en-US/html_single/ and > * http

[hibernate-dev] Published ORM docs partly still at CR2

2015-08-24 Thread Gunnar Morling
Hi, the docs at * http://docs.jboss.org/hibernate/orm/5.0/devguide/en-US/html_single/ and * http://docs.jboss.org/hibernate/orm/5.0/manual/en-US/html_single/ still say they represent CR 2. Not sure what has changed since then, but seeing "5.0.0.Final" there would be nice :) Thanks, --Gunnar __

Re: [hibernate-dev] Hibernate ORM SQL generation

2015-08-24 Thread John O'Hara
The split makes a lot of sense, should we have another module for the criteria query SQM translation? As we only have one grammar for HQL and JPQL, does jpql come under the hibernate-hql-parser-antlr4poc module? On 21/08/15 21:51, Steve Ebersole wrote: > Just a heads up that I started a major

Re: [hibernate-dev] Hibernate ORM SQL generation

2015-08-24 Thread andrea boriero
I have nothing against your proposal so +1 On 24 August 2015 at 04:55, Steve Ebersole wrote: > Another point I want to discuss up from because it affects tree > structure. Specifically the idea of an "unbounded implicit inheritance" > query. These are queries like "from java.lang.Object". Qu