Linda,
CriteriaUpdate and CriteriaDelete and the top-level interface
CommonCriteria,
as you proposed, are preferable to using the "Query" suffix in my opinion.
And I can't think of a better alternative.
> -----Original Message-----
> From: Linda DeMichiel [mailto:linda.demichiel_at_oracle.com]
> Sent: Friday, 1 April 2011 7:02 a.m.
> To: jsr338-experts_at_jpa-spec.java.net
> Subject: [jsr338-experts] Re: criteria API bulk update/delete
>
> Hi Werner, all,
>
> Thanks. I didn't have any really good ideas for a name
> for this top-level interface.
>
> I was hoping that someone in the group would have some good
> inspirations....
>
> Another approach to the naming might be to call the new
> update/delete interfaces CriteriaUpdate and CriteriaDelete
> and the top-level interface CommonCriteria (or CriteriaCommon),
> or some such.
>
> Please send your suggestions and opinions!
>
> thanks,
>
> -Linda
>
>
> On 3/30/2011 12:52 PM, Werner Keil wrote:
> > Linda,
> >
> > Thanks a lot for the update and sources attached.
> > Looks good, although the inheritence
> > "AbstractQuery<T> extends CommonAbstractQuery<T>" feels a
> bit weird to me.
> >
> > Since AbstractQuery has been around since 2.0 there is of
> course a need
> > for a super-interface, the names just suggest the opposite,
> at least in
> > my impression.
> > Maybe leaving the word "Abstract" from the "CommonQuery" would help.
> >
> > What are your thoughts or alternate suggestions?
> >
> > Werner
>
>
>