Re: [hibernate-dev] Another @Access quandry

2014-04-01 Thread Steve Ebersole
I have heard no more comments, so I will move forward with this as stated earlier. Additionally, I started working the a PoC for the idea of making this resolution pluggable. Here is the initial stroke for the contract: /** * Contract responsible for resolving the members that identify the per

Re: [hibernate-dev] [HSEARCH] Autodiscoverable field bridges next steps

2014-04-01 Thread Sanne Grinovero
On 1 April 2014 21:19, Hardy Ferentschik wrote: > > On 1 Jan 2014, at 16:36, Emmanuel Bernard wrote: > >> ## Splitting the BridgeProvider in two methods >> >> A way make the inelegant code structure >> >>FieldBridge bridge = provider.provide(…); >>if ( bridge != null ) { >>return

Re: [hibernate-dev] [HSEARCH] Autodiscoverable field bridges next steps

2014-04-01 Thread Gunnar Morling
2014-04-01 22:19 GMT+02:00 Hardy Ferentschik : > > On 1 Jan 2014, at 16:36, Emmanuel Bernard wrote: > > > ## Splitting the BridgeProvider in two methods > > > > A way make the inelegant code structure > > > >FieldBridge bridge = provider.provide(...); > >if ( bridge != null ) { > >

Re: [hibernate-dev] [HSEARCH] Autodiscoverable field bridges next steps

2014-04-01 Thread Hardy Ferentschik
On 1 Jan 2014, at 16:36, Emmanuel Bernard wrote: > ## Implementation of the service loader based discovery > > Hardy proposes to make each BridgeProvider a Service in the ServiceManager > sense. It is right? We allow users to provide their implementations. > The idea being that when we make

Re: [hibernate-dev] [HSEARCH] Autodiscoverable field bridges next steps

2014-04-01 Thread Hardy Ferentschik
On 1 Jan 2014, at 16:36, Emmanuel Bernard wrote: > ## AnnotatedElement > > Hardy does not like us being tied to the actual physical annotation objects. > I tend to agree with him as we would need to fake it for free-form entities. > Since he worked on Jandex and the ORM side of parsing, he wil

Re: [hibernate-dev] [HSEARCH] Autodiscoverable field bridges next steps

2014-04-01 Thread Hardy Ferentschik
On 1 Jan 2014, at 16:36, Emmanuel Bernard wrote: > ## Splitting the BridgeProvider in two methods > > A way make the inelegant code structure > >FieldBridge bridge = provider.provide(…); >if ( bridge != null ) { >return bridge >} > > Is to ask of the provider to answer two

Re: [hibernate-dev] [HSEARCH] Autodiscoverable field bridges next steps

2014-04-01 Thread Hardy Ferentschik
On 1 Jan 2014, at 16:36, Emmanuel Bernard wrote: > ## Handling duplicates > > I had in mind the following logic. > > Prevent custom bridge providers to offer bridges in the same situation. What do you mean with "in the same situation”? You mean there cannot be two bridge providers for the sa

Re: [hibernate-dev] [HSEARCH] Autodiscoverable field bridges next steps

2014-04-01 Thread Hardy Ferentschik
On 1 Jan 2014, at 16:36, Emmanuel Bernard wrote: > ## References to field bridges > > Despite being on an internal class, some implementations (Infinispan remove > query at least) uses direct references to FieldBridge.SOME_BRIDGE. IMO, they should not. There is a unnecessary coupling here. Ea

Re: [hibernate-dev] [Search] OSGi split packages

2014-04-01 Thread Hardy Ferentschik
I dropped the ball on the package split for a couple of days, but would like to get this completed now. > It seems we are all ok except on the SearchFactory shuffling. Good :-) > Not we we agree (or disagree) on that one. I am not quite sure how to read this sentence, but I think in an earlier

Re: [hibernate-dev] ORM 3 JIRA tickets

2014-04-01 Thread Hardy Ferentschik
Nice. I think the approach makes sense in our current situation, and I also like that we clearly explain what we are trying to do and why. Good stuff. —Hardy On 1 Jan 2014, at 20:04, Brett Meyer wrote: > All, here's the write up. Comments appreciated! > > http://in.relation.to/Bloggers/H

Re: [hibernate-dev] Session and carrying 3rd party state

2014-04-01 Thread Steve Ebersole
I think you got it. By the way, just to clarify... I am not pushing one or the other. I am just asking that you realize that you are conceptually really wanting a custom Session impl. The reason I think this is important is that I have seen many times the problems that come about down the road w

Re: [hibernate-dev] ORM 3 JIRA tickets

2014-04-01 Thread Brett Meyer
All, here's the write up. Comments appreciated! http://in.relation.to/Bloggers/HibernateORMJIRAPoliciesAndCleanUpTactics Brett Meyer Red Hat, Hibernate ORM - Original Message - From: "Steve Ebersole" To: "Brett Meyer" Cc: "Hardy Ferentschik" , "Hibernate" Sent: Monday, March 31, 201

Re: [hibernate-dev] Session and carrying 3rd party state

2014-04-01 Thread Gunnar Morling
Ok, so here is what I took from today's meeting regarding the management of state in Hibernate OGM: 1) For maintaining state specific to an entity (e.g. the original store-specific representation it was loaded from, so it can be re-used later on instead of going to the store again), ORM could be e

[hibernate-dev] IRC Developer Meeting - 4/1

2014-04-01 Thread Steve Ebersole
Mainly discussed OGM and its need to store state relative to various "scopes"... [12:09] Minutes: http://transcripts.jboss.org/meeting/irc.freenode.org/hibernate-dev/2014/hibernate-dev.2014-04-01-14.51.html [12:09] Minutes (text): http://transcripts.jboss.org/meeting/irc.freenode.org/hibernate-

Re: [hibernate-dev] Session and carrying 3rd party state

2014-04-01 Thread Steve Ebersole
In my opinion, any attempts to present a custom Session ought to inherently mean presenting a custom SessionFactory. I assume you also present a OgmSessionFactory, so you should have total control over how a Session creation happens. At some point do you think maybe part of the problem is "delega

[hibernate-dev] [HSEARCH] Autodiscoverable field bridges next steps

2014-04-01 Thread Emmanuel Bernard
There has been a lot of discussions on the PR. Let me try and sum up my next steps and bootstrap some discussions. To comment on a specific subject, create a separate thread per subject or this thread will be come a huge radiated tree :) ## @IndexedEmbedded and null Apparently both Sanne and I

Re: [hibernate-dev] ORM 3 JIRA tickets

2014-04-01 Thread Steve Ebersole
Nope. Like I mentioned to you, I think this is, unfortunately, an evil necessity at this point in time. On Mon, Mar 31, 2014 at 3:11 PM, Brett Meyer wrote: > Good thoughts -- will do. If anyone has differing opinions, I'm all ears. > I won't attempt this for a week or so... > > Brett Meyer >

Re: [hibernate-dev] [OGM] CI jobs hang (Gunnar Morling)

2014-04-01 Thread Gunnar Morling
Hi Paolo, Thanks for your reply. The thing is that these jobs used to work until recently, so I'm wondering which change could be causing the problem. Maybe a recent update to Jenkins or one of the plug-ins? Unfortunately we don't have the config audit plug-in anymore which provides a history at

Re: [hibernate-dev] [OGM] CI jobs hang (Gunnar Morling)

2014-04-01 Thread Paolo Antinori
Hi Gunnar I am working on related activities on a replica of ci.hibernate.org where I am playing with Docker and trying to see how well it could fit the the project build needs. When running OGM build job on this replica server, I have noticed the same problem. I think that the problem is relate

Re: [hibernate-dev] Session and carrying 3rd party state

2014-04-01 Thread Gunnar Morling
2014-03-31 16:28 GMT+02:00 Steve Ebersole : > Wasn't just me that said -1... > > My concerns are 2-fold: > 1) You want ORM to manage and expose "state storage" on Session even > though it does not use it. > 2) You want to store state in there that isnt even Session-scoped. Rather > you have state

Re: [hibernate-dev] Session and carrying 3rd party state

2014-04-01 Thread Gunnar Morling
2014-03-31 17:09 GMT+02:00 Emmanuel Bernard : > Gunnar, can you lead the work on getting that set of "fleshed out" use > cases. With a bit of luck we could have them by tomorrow for the > meeting and discuss them there. > I've started a document with use cases at https://docs.google.com/document/

[hibernate-dev] [OGM] CI jobs hang

2014-04-01 Thread Gunnar Morling
Hi, For some reason, the CI jobs for OGM can't be executed (all jobs, master, java8, PR seem affected) . They hang forever in an initial state, i.e. there is no console output and also the sub-jobs are not dispatched (these are matrix projects). Worse, they can't even be canceled (trying to do so