org.apache.ibatis.annotations
Annotation Type Options
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Options
useCache
public abstract boolean useCache
- Default:
- true
flushCache
public abstract boolean flushCache
- Default:
- false
resultSetType
public abstract ResultSetType resultSetType
- Default:
- org.apache.ibatis.mapping.ResultSetType.FORWARD_ONLY
statementType
public abstract StatementType statementType
- Default:
- org.apache.ibatis.mapping.StatementType.PREPARED
fetchSize
public abstract int fetchSize
- Default:
- -1
timeout
public abstract int timeout
- Default:
- -1
useGeneratedKeys
public abstract boolean useGeneratedKeys
- Default:
- false
keyProperty
public abstract String keyProperty
- Default:
- "id"
keyColumn
public abstract String keyColumn
- Default:
- ""
Copyright © 2010-2012 MyBatis.org. All Rights Reserved.