倾颠我心

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2016年11月7日

摘要: 使用聚集函数 在HQL中可以调用Count:统计函数Min:求最小值函数Max:求最大值函数Sum:求和函数Avg:求平均数函数 Count:统计函数Session session = HibernateSessionFactory.getSession();Transaction tx = ses 阅读全文
posted @ 2016-11-07 20:41 倾颠我心 阅读(442) 评论(0) 推荐(0)

2016年3月24日

摘要: java 中使用base64编码和解码: 第一种方式: 通过反射使用java 中不对外公开的类: Java代码 /*** * encode by Base64 */ public static String encodeBase64(byte[]input) throws Exception{ Cl 阅读全文
posted @ 2016-03-24 21:29 倾颠我心 阅读(1368) 评论(0) 推荐(0)