标题: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语句?
搜索更多相关主题的帖子: successful example finding sql语句 public 
2014-04-25 10:17



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-430616-1-1.html




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

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