Support for comparison for dynamic finders

1 view
Skip to first unread message

Lucio Benfante

unread,
Nov 16, 2007, 6:27:18 PM11/16/07
to paranco...@googlegroups.com
Hi,
another enhancement to finder methods.

Not You can choose different strategies in comparing values of the
parameters of a dynamic finder, not only equality.

For example:

List<Person> findByLastName(
@Compare(CompareType.ILIKE) String lastName);

For a more complete explanation, again read the updated how-to:

http://www.parancoe.org/articles/2007/08/28/how-to-add-finder-methods-to-parancoe-daos/

Regards,
Lucio

--
Lucio Benfante
JUG Padova http://www.parancoe.org ...have a look at it!
www.jugpadova.it

Reply all
Reply to author
Forward
0 new messages