Re: [hibernate-dev] [OGM] GridDialect facets

2015-07-27 Thread Gunnar Morling
2015-07-24 9:56 GMT+02:00 Emmanuel Bernard : > I have been adding a facet to GridDialect and found it surprisingly hard: > > * I was not sure which non datastore dialects was supposed to implement > the facet nor really how to find these non datastore dialects. I am talking > about GridDialectLogg

Re: [hibernate-dev] [OGM] GridDialect facets

2015-07-24 Thread Davide D'Alto
>> Right, we could create an empty interface to flag them. > They all extend GridDialect already. Is there any easier way for an dialect provider to learn about all the facets than inspecting the type hierarchy of GridDialect? I guess the point is to distinguish between the main datastore dialect

Re: [hibernate-dev] [OGM] GridDialect facets

2015-07-24 Thread Hardy Ferentschik
On Fri, Jul 24, 2015 at 11:01:43AM +0200, Gunnar Morling wrote: > > > I have been adding a facet to GridDialect and found it surprisingly hard: > > > > What is a facet in this context. I've seen you guys using this term on IRC > > as well, > > but I am not sure what you mean with it in relation to

Re: [hibernate-dev] [OGM] GridDialect facets

2015-07-24 Thread Gunnar Morling
> Right, we could create an empty interface to flag them. They all extend GridDialect already. Is there any easier way for an dialect provider to learn about all the facets than inspecting the type hierarchy of GridDialect? 2015-07-24 10:59 GMT+02:00 Davide D'Alto : > >> I have been adding a fa

Re: [hibernate-dev] [OGM] GridDialect facets

2015-07-24 Thread Gunnar Morling
2015-07-24 10:32 GMT+02:00 Hardy Ferentschik : > On Fri, Jul 24, 2015 at 09:56:24AM +0200, Emmanuel Bernard wrote: > > > I have been adding a facet to GridDialect and found it surprisingly hard: > > What is a facet in this context. I've seen you guys using this term on IRC > as well, > but I am no

Re: [hibernate-dev] [OGM] GridDialect facets

2015-07-24 Thread Davide D'Alto
>> I have been adding a facet to GridDialect and found it surprisingly hard: > > What is a facet in this context. Facet are additional interfaces that can be used on a GridDialect to add features to it, like support for optimistic locking, batching or native id generation. > non datastore dialect

Re: [hibernate-dev] [OGM] GridDialect facets

2015-07-24 Thread Hardy Ferentschik
On Fri, Jul 24, 2015 at 09:56:24AM +0200, Emmanuel Bernard wrote: > I have been adding a facet to GridDialect and found it surprisingly hard: What is a facet in this context. I've seen you guys using this term on IRC as well, but I am not sure what you mean with it in relation to a GridDialect.

[hibernate-dev] [OGM] GridDialect facets

2015-07-24 Thread Emmanuel Bernard
I have been adding a facet to GridDialect and found it surprisingly hard: * I was not sure which non datastore dialects was supposed to implement the facet nor really how to find these non datastore dialects. I am talking about GridDialectLogger, ForwardingGridDialect and InvokedOperationsLoggin