[hibernate-dev] [OGM] GridDialect facets

Hardy Ferentschik hardy at hibernate.org
Fri Jul 24 09:34:51 EDT 2015


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 a GridDialect.
> >
> 
> It's our way to model different (optional) capabilities of data stores.
> 
> The main contract is GridDialect which offers the basic functionality each
> store needs to support (getTuple(), insertOrUpdateAssocation() and so on).
> Then there are several sub-types of it (e.g. QueryableGridDialect,
> OptimisticLockingAwareGridDialect etc.) which allow a dialect to expose
> advanced (or more efficient) functionality. Depending on which capabilities
> a store exposes that way, engine will make use of it.

Got it, thanks. 

> >  which non datastore dialects was supposed to implement the facet
> >
> > non datastore dialect? Is it not one dialect per datastore?
> >
> 
> Davide's answer says it :)

+1 Thanks both of you. Always helps to understand the lingo.

--Hardy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 496 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/hibernate-dev/attachments/20150724/310243b0/attachment.bin 


More information about the hibernate-dev mailing list