@SqlResultSetMapping

@SqlResultSetMapping(
        name = "ID_AND_NAME",
        classes = {
                @ConstructorResult(
                        targetClass = com.jiaqiang.pop.bean.repertory.BeanRepertory.class,
                        columns = {
                                @ColumnResult(name = "id",type=Long.class),
                                @ColumnResult(name = "name")
                        }
                )
        }
)