Spring Data Jpa

org.springframework.data.jpa.repository
Annotation Type Query


@Retention(value=RUNTIME)
@Target(value=METHOD)
@Documented
public @interface Query

Annotation to declare finder queries directly on repository methods.

Author:
Oliver Gierke

Optional Element Summary
 String countQuery
           
 String value
           
 

value

public abstract String value
Default:
""

countQuery

public abstract String countQuery
Default:
""

Spring Data Jpa

Copyright © 2011 SpringSource. All Rights Reserved.