
Java :开发中遇到的问题
文章平均质量分 82
programloverjack
微风2019
展开
-
用Bouncy Castle实现AES-128-CBC加密解密
Bouncy Castle Crypto APIs 是一个开源的轻量级Java 加密解密包,实现了JCE/JCA的provider,支持AES等多种加密解密算法。详情请见主页:http://www.bouncycastle.org/java.html本文的示例代码使用了http://www.bouncycastle.org/download/bcprov-jdk16-139.jar1)...原创 2011-09-06 15:35:40 · 739 阅读 · 0 评论 -
PDF生成工具类
链接地址:http://today.java.net/pub/a/today/2007/06/26/generating-pdfs-with-flying-saucer-and-itext.html原创 2011-08-18 20:17:44 · 117 阅读 · 0 评论 -
Data truncation: Column was set to data type implicit default; NULL supplied for
hibernate,one to many关系时出现:Data truncation: Column was set to data type implicit default; NULL supplied for NOT NULL column :解决方案: 个人认为inverse属性是用来设置主动权的。在archive的set(empInfo)中设置其为true,表示把主动权交...原创 2011-02-16 21:44:51 · 372 阅读 · 0 评论 -
异常:Error creating bean with name 'sessionFactory'
错误描述: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of in...原创 2010-10-20 14:27:01 · 252 阅读 · 0 评论