-
Jan 10th, 2012, 09:34 PM
#1
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
-
Jan 10th, 2012, 11:57 PM
#2
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
-
Forum Rules