[hibernate-dev] Hibernate Integrator Causes Flush When Using JPA Transactions Around Queries

2015-08-26 Thread Wolfgang Wedemeyer
Greetings Hibernate Developers! I'm working on an Integrator for Hibernate (background on Integrators: https://docs.jboss.org/hibernate/orm/4.3/manual/en-US/html/ch14.html#objectstate-decl-security )

Re: [hibernate-dev] Query Parser Redesign

2015-08-26 Thread Steve Ebersole
I'm ok with that. Everyone else? On Wed, Aug 26, 2015 at 4:24 PM Gunnar Morling wrote: > hibernate-query-parser? > > 2015-08-26 22:32 GMT+02:00 Steve Ebersole : > > I think I'd like to rename this repo and the 2 modules. I think its > easier > > to call the overall repo hibernate-sqm. And th

Re: [hibernate-dev] Query Parser Redesign

2015-08-26 Thread Gunnar Morling
hibernate-query-parser? 2015-08-26 22:32 GMT+02:00 Steve Ebersole : > I think I'd like to rename this repo and the 2 modules. I think its easier > to call the overall repo hibernate-sqm. And then within that rename the 2 > modules: > * hibernate-sqm -> hibernate-sqm-model > * hibernate-query-int

[hibernate-dev] Search DSL expectations for "keyword()" clause

2015-08-26 Thread Sanne Grinovero
Assuming you build a Lucene Query the following way: queryBuilder.keyword().onField( "age" ).matching( 5 ).createQuery(); What is your expectation, if the "age" field is being indexed as a NumericField? Thanks, Sanne ___ hibernate-dev mailing list

Re: [hibernate-dev] Query Parser Redesign

2015-08-26 Thread Steve Ebersole
I think I'd like to rename this repo and the 2 modules. I think its easier to call the overall repo hibernate-sqm. And then within that rename the 2 modules: * hibernate-sqm -> hibernate-sqm-model * hibernate-query-interpreter -> ? Still not sure what to call this "query->SQM" module. Thoughts?

Re: [hibernate-dev] Query Parser Redesign

2015-08-26 Thread Sanne Grinovero
On 26 August 2015 at 18:27, Steve Ebersole wrote: > Yes, but at this point lets make sure there is a Jira for any changes we > are making. > > Also, I wanted to be specific that *no* clients of this code belong in this > repo. I know y'all did that with the hibernate-hql-parser repo. I just > wa

[hibernate-dev] SQM-11 : Consider a new matches operator - thoughts?

2015-08-26 Thread Steve Ebersole
https://hibernate.atlassian.net/browse/SQM-11 ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev

Re: [hibernate-dev] Query Parser Redesign

2015-08-26 Thread Steve Ebersole
Yes, but at this point lets make sure there is a Jira for any changes we are making. Also, I wanted to be specific that *no* clients of this code belong in this repo. I know y'all did that with the hibernate-hql-parser repo. I just want to be clear that that should *not* happen here. On Wed, Au

Re: [hibernate-dev] Testing Hibernate 5: injecting a Spring managed interceptor

2015-08-26 Thread Guillaume Smet
Done: https://hibernate.atlassian.net/browse/HHH-10059 On Wed, Aug 26, 2015 at 4:23 PM, Steve Ebersole wrote: > It's fine > > On Wed, Aug 26, 2015, 8:54 AM Guillaume Smet > wrote: > >> Nothing yet. Wanted to be sure you weren't against the principle of >> making this method protected. >> >> If

Re: [hibernate-dev] Testing Hibernate 5: injecting a Spring managed interceptor

2015-08-26 Thread Steve Ebersole
It's fine On Wed, Aug 26, 2015, 8:54 AM Guillaume Smet wrote: > Nothing yet. Wanted to be sure you weren't against the principle of making > this method protected. > > If you agree with this plan, I'll do the legwork. > > On Wed, Aug 26, 2015 at 3:34 PM, Steve Ebersole > wrote: > >> Is there a

Re: [hibernate-dev] Testing Hibernate 5: injecting a Spring managed interceptor

2015-08-26 Thread Guillaume Smet
Nothing yet. Wanted to be sure you weren't against the principle of making this method protected. If you agree with this plan, I'll do the legwork. On Wed, Aug 26, 2015 at 3:34 PM, Steve Ebersole wrote: > Is there a Jira? PR? > > On Wed, Aug 26, 2015, 8:12 AM Guillaume Smet > wrote: > >> Hi S

Re: [hibernate-dev] Testing Hibernate 5: injecting a Spring managed interceptor

2015-08-26 Thread Steve Ebersole
Is there a Jira? PR? On Wed, Aug 26, 2015, 8:12 AM Guillaume Smet wrote: > Hi Steve, > > On Thu, May 7, 2015 at 5:37 PM, Guillaume Smet > wrote: > >> >> Yup, EntityManagerFactoryBuilderImpl.populate(SessionFactoryBuilder, >> StandardServiceRegistry) was my favorite spot too but it's currently

Re: [hibernate-dev] Testing Hibernate 5: injecting a Spring managed interceptor

2015-08-26 Thread Guillaume Smet
Hi Steve, On Thu, May 7, 2015 at 5:37 PM, Guillaume Smet wrote: > > Yup, EntityManagerFactoryBuilderImpl.populate(SessionFactoryBuilder, > StandardServiceRegistry) was my favorite spot too but it's currently > private. Would you mind making it protected? > Working on my backlog for ORM 5 migrat

Re: [hibernate-dev] Hibernate ORM SQL generation

2015-08-26 Thread Steve Ebersole
On Wed, Aug 26, 2015 at 2:10 AM Gunnar Morling wrote: > Hi Steve, > > > The other approach is to use a 3-phase translation (input > > -> semantic-tree -> semantic-SQL-tree(s) -> SQL). This gives a hint to > one > > of the major problems. One source "semantic" query will often correspond > > to

Re: [hibernate-dev] Query Parser Redesign

2015-08-26 Thread Steve Ebersole
Yes On Wed, Aug 26, 2015, 1:48 AM Gunnar Morling wrote: > +1 for the new repo. Just forked it and am looking into the amazing > things you guys built recently :) > > Can I push simple stuff to that repo right away (e.g. adding the > Eclipse plug-in to build.gradle)? > > Cheers, > > --Gunnar > >

Re: [hibernate-dev] Ansible set-up, error "unknown key type ecdsa"

2015-08-26 Thread Davide D'Alto
> That's what I proposed in the previous email, but there are tradeoffs > such as having to maintain more secret keys somewhere. I'm not sure > which approach is the lesser evil ;) I prefer having the keys in one place of reference. It's easier to remember to keep it up-to-date. On Wed, Aug

Re: [hibernate-dev] Ansible set-up, error "unknown key type ecdsa"

2015-08-26 Thread Sanne Grinovero
On 26 August 2015 at 12:28, Davide D'Alto wrote: > Can't we keep some secrets tokens on master? > Or on a separate secret small machine? > > This way we can transfer them from master during the creation of the slave. > Basically, I'm talking about improving the transfert-to-slave script. That's w

Re: [hibernate-dev] Ansible set-up, error "unknown key type ecdsa"

2015-08-26 Thread Davide D'Alto
Can't we keep some secrets tokens on master? Or on a separate secret small machine? This way we can transfer them from master during the creation of the slave. Basically, I'm talking about improving the transfert-to-slave script. > Davide extended this further with tags: see the readme to easily

Re: [hibernate-dev] Ansible set-up, error "unknown key type ecdsa"

2015-08-26 Thread Sanne Grinovero
On 25 August 2015 at 14:15, Gunnar Morling wrote: > Sanne, > > When running Ansible to update the CI slaves on OS X, I get the following > error: > > TASK: [jenkins-slave | Ensure cimaster is a known host] > *** > unknown key type ecdsa > fatal: [209.132.178.232] => lookup_pl

Re: [hibernate-dev] HIbernate Shards contributors

2015-08-26 Thread Sanne Grinovero
Thanks for noticing, I'll reply there. On 26 August 2015 at 10:33, Davide D'Alto wrote: > Hi, > on the forum someone is interested in updating the Hibernate Shards project: > > https://forum.hibernate.org/viewtopic.php?f=9&t=1041314 > > In the website we ask to contact us if someone is interested

Re: [hibernate-dev] Hibernate ORM SQL generation

2015-08-26 Thread Sanne Grinovero
Hi all, joining the party late, just read it all up. I'm highly +1 to multiple phases, I think it's a requirement for e.g. cached reuse. About ANTLR4 : it sounds better than ANTLR3 for maintenance reasons; but I don't think we can grasp the full picture of all the things we want to do and say "it

[hibernate-dev] HIbernate Shards contributors

2015-08-26 Thread Davide D'Alto
Hi, on the forum someone is interested in updating the Hibernate Shards project: https://forum.hibernate.org/viewtopic.php?f=9&t=1041314 In the website we ask to contact us if someone is interested to the project but we don't provide an email address. How should we reply to the post? Cheers, D

Re: [hibernate-dev] Hibernate ORM SQL generation

2015-08-26 Thread Gunnar Morling
Hi Steve, > The other approach is to use a 3-phase translation (input > -> semantic-tree -> semantic-SQL-tree(s) -> SQL). This gives a hint to one > of the major problems. One source "semantic" query will often correspond > to multiple SQL queries; that is hard to manage in the 2-phase approach.