悠然哈哈哈

导航

2013年12月5日 #

hibernate hql where语句拼接工具类

摘要: package com.zhaoshijie.tree.other;/** * hibernate HQL WHERE语句工具类 * * @author 赵士杰 * */public class HqlWhere { /** * 测试入口函数 * * @param args */ public static void main(String[] args) { // 查询条件 StringBuilder strHql = new StringBuilder("from Book b where"); strHql.append(HqlWhere.bindLike... 阅读全文

posted @ 2013-12-05 16:01 悠然886 阅读(1208) 评论(0) 推荐(0) 编辑