org.apache.ibatis.annotations
Annotation Type ResultType


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

This annotation can be used when a @Select method is using a ResultHandler. Those methods must have void return type, so this annotation can be used to tell MyBatis what kind of object it should build for each row.

Since:
3.2.0

Required Element Summary
 Class<?> value
           
 

Element Detail

value

public abstract Class<?> value


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