|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Target(value=METHOD) @Retention(value=RUNTIME) public @interface Finder
Created with IntelliJ IDEA. On: 3/06/2007
Marks a method stub as a dynamic finder. The method is intercepted and replaced with the specified HQL or JPAQL query. Provides result auto-boxing and automatic parameter binding.
| Optional Element Summary | |
|---|---|
java.lang.String |
namedQuery
Specify a named query's name here, typically using the @NamedQuery annotation. |
java.lang.String |
query
Directly specify a query here, hql or jpaql. |
java.lang.Class<? extends java.util.Collection> |
returnAs
Use this clause to specify a collection impl to autobox result lists into. |
public abstract java.lang.String namedQuery
@NamedQuery annotation.
public abstract java.lang.String query
public abstract java.lang.Class<? extends java.util.Collection> returnAs
java.util.Collection.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||