Results 1 to 2 of 2

Thread: Adding a custom finder method to a JPA repository in Roo

  1. #1
    Join Date
    Nov 2011
    Location
    Charlotte, NC, USA
    Posts
    21

    Default Adding a custom finder method to a JPA repository in Roo

    Hi guys:

    Can some please explain (or post an example) of how to go about adding a custom finder method to Roo created JPA Repository? The documentation is kind of lacking this...

    Thanks,
    Chris

  2. #2
    Join Date
    Aug 2010
    Location
    Goteborg, Sweden
    Posts
    434

    Default

    The way I do it is first adding a suitable Finder with Roo. Secondly, I refactor this with Springsource Tools Suite by pushing it in. Finally I edit the Finder and the Findername entry.

    While this works, I'm not certain this is the best way.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •