Skip to content

字段是对象list时查询出来的是List<NutMap>? #1593

@zhangweihust

Description

@zhangweihust

@table("text_tble")
@pk(value = { "key"})
public class MyBean{
@column
public String key;

@Column
@ColDefine(type=ColType.MYSQL_JSON)
     public List<StructA> my_list; //

}

直接从db中查询得到的my_list是NutMap的ArrayList
MyBeandhs1 = dao.fetch(MyBean.class, Cnd.where(。。。))

这是正常的吗? 我期望能直接得到StructA的ArrayLis啊,有没有解决方法?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions