List list=dao.find("select new com.been.myBean(tabel1.column1,table1.column2) from table1");
class myBean{
myBean(String s1,String s2){}
}
纯粹记录 可能需要研究查询缓存相关的新处理方式所需
本文探讨了一种新的查询缓存处理方式,并通过一个具体的代码示例进行说明。示例中使用了DAO模式来执行数据库查询,并将结果封装为myBean对象列表。这可能涉及到查询缓存的更新机制及效率问题。
List list=dao.find("select new com.been.myBean(tabel1.column1,table1.column2) from table1");
class myBean{
myBean(String s1,String s2){}
}
纯粹记录 可能需要研究查询缓存相关的新处理方式所需
911
1324

被折叠的 条评论
为什么被折叠?