| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
共有 609 人关注过本帖
标题:findByExample
取消只看楼主 加入收藏
salestina
Rank: 2
等 级:论坛游民
威 望:1
帖 子:22
专家分:11
注 册:2014-4-3
结帖率:33.33%
收藏
已结贴  问题点数:20 回复次数:0 
findByExample
public List findByExample(VcxZyfymx instance) {
        log.debug("finding VcxZyfymx instance by example");
        try {
            List results = getHibernateTemplate().findByExample(instance);
            log.debug("find by example successful, result size: "
                    + results.size());
            return results;
        } catch (RuntimeException re) {
            log.error("find by example failed", re);
            throw re;
        }
    }

Hibernate封装的这个方法怎样加sql语句?
2014-04-25 10:17
快速回复:findByExample
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.013394 second(s), 8 queries.
Copyright©2004-2025, BC-CN.NET, All Rights Reserved