com.avaje.ebean.annotation
Annotation Type Sql


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface Sql

Specify explicit sql for multiple select statements. Need to use this if you have more than one SqlSelect for a given bean.

FUTURE: Support explicit sql for SqlInsert, SqlUpdate and SqlDelete.


Optional Element Summary
 SqlSelect[] select
          The sql select statements.
 

select

public abstract SqlSelect[] select
The sql select statements.

Default:
@com.avaje.ebean.annotation.SqlSelect


Copyright © 2010. All Rights Reserved.