jsr338-experts@jpa-spec.java.net

[jsr338-experts] Re: criteria API bulk update/delete

From: Linda DeMichiel <linda.demichiel_at_oracle.com>
Date: Thu, 31 Mar 2011 11:02:10 -0700

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