org.apache.ibatis.annotations
Annotation Type Result


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Result


Optional Element Summary
 String column
           
 boolean id
           
 Class<?> javaType
           
 JdbcType jdbcType
           
 Many many
           
 One one
           
 String property
           
 Class<? extends TypeHandler<?>> typeHandler
           
 

id

public abstract boolean id
Default:
false

column

public abstract String column
Default:
""

property

public abstract String property
Default:
""

javaType

public abstract Class<?> javaType
Default:
void.class

jdbcType

public abstract JdbcType jdbcType
Default:
org.apache.ibatis.type.JdbcType.UNDEFINED

typeHandler

public abstract Class<? extends TypeHandler<?>> typeHandler
Default:
org.apache.ibatis.type.UnknownTypeHandler.class

one

public abstract One one
Default:
@org.apache.ibatis.annotations.One

many

public abstract Many many
Default:
@org.apache.ibatis.annotations.Many


Copyright © 2010-2012 MyBatis.org. All Rights Reserved.