>> 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? Is it not one dialect per datastore? Emmanuel is talking about some decorator classes the we use in different scenarios. They will delegate the operations to the datastore dialect but will execute some additional logic before/after. For example, the GridDialectLogger will add some log before delegating the operations to selected dialect. > * I’m also concerned about facet discoverability, I don’t think it’s trivial for a dialect implementor to get the list of facets easily, which will tend to bring minimal dialects without the advanced features. Right, we could create an empty interface to flag them. On Fri, Jul 24, 2015 at 9:32 AM, Hardy Ferentschik <ha...@hibernate.org> wrote: > 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. > > > which non datastore dialects was supposed to implement the facet > > non datastore dialect? Is it not one dialect per datastore? > > Just trying to understand what you guys are actually talking about ;-) > > --Hardy > > _______________________________________________ > hibernate-dev mailing list > hibernate-dev@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/hibernate-dev > _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev