net.sf.eodsql
Annotation Type SelectPrimitive
public @interface SelectPrimitive
Similar to the normal @Select
annotation,
@SelectPrimitive
assumes a single column ResultSet
,
and will only return a Primitive type (ie: one defined by a
TypeMapper
). This makes it perfect for
"SELECT COUNT()" style queries.
- Author:
- jason
Required Element Summary |
String |
value
The SQL query as an EoD Query. |
value
public abstract String value
- The SQL query as an EoD Query. The same rules as apply to a
@Select
annotation.