
框架
iteye_20824
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
SSH三大框架官网下载地址
jar包搜索网:[url]http://www.findjar.com[/url]三大框架官网下载地址:Struts:[url]http://struts.apache.org/[/url]Spring:[url]http://www.springsource.org/download/[/url]Hibernate:[url]http://sourcefo...2011-08-06 20:15:27 · 186 阅读 · 0 评论 -
POI读取Excel的Integer数值
[code="java"]// 取得当前Cell的数值 Integer num = new Integer((int) cell.getNumericCellValue());//转换为字符串 String cellvalue = String.valueOf(num); [/code]参考:[url]http://hi.baidu.com/%CE%E4%BA%BA...2011-12-08 19:38:26 · 1768 阅读 · 0 评论 -
org.hibernate.MappingException: No Dialect mapping for JDBC type: -1 解决方法(转)
org.hibernate.MappingException: No Dialect mapping for JDBC type: -1at org.hibernate.dialect.TypeNames.get(TypeNames.java:56)at org.hibernate.dialect.TypeNames.get(TypeNames.java:81)at org.hib...原创 2011-09-22 16:13:46 · 115 阅读 · 0 评论 -
使用AOP实现监控日志并保存
最近项目中要做个效能监控的功能,经过考虑,觉得选择spring的AOP来实现。必须放在Web端。例子如下:[code="java"]import java.util.Date;import org.aspectj.lang.annotation.After;import org.aspectj.lang.annotation.Aspect;import org.as...2012-07-13 20:42:53 · 778 阅读 · 0 评论 -
jxl读取Excel 错误: jxl.read.biff.BiffException: Unable to recognize OLE stream
报错代码:[code="java"]jxl.read.biff.BiffException: Unable to recognize OLE streamat jxl.read.biff.CompoundFile.(CompoundFile.java:116)at jxl.read.biff.File.(File.java:127)at jxl.Workbook.getWo...原创 2011-12-01 14:37:08 · 976 阅读 · 0 评论 -
Struts2的简单示例action类
基类:[code="java"]package com.kit.common;import java.io.Serializable;import java.util.HashMap;import java.util.Map;import javax.servlet.http.HttpServletRequest;import javax.servlet.h...2012-09-26 19:57:56 · 172 阅读 · 0 评论 -
基于hibernate的数据持久化处理简单实现类
[code="java"]package com.forveross.plane.service.impl;import java.util.List;import org.hibernate.Query;import org.springframework.context.annotation.Scope;import org.springframework.ster...2012-09-26 20:03:07 · 187 阅读 · 0 评论 -
POI兼容读取Excel2003和Excel2007
[code="java"]import java.io.File;import java.io.FileInputStream;import java.io.FileNotFoundException;import java.io.IOException;import java.io.InputStream;import java.util.ArrayList;impo...2012-06-29 16:00:51 · 166 阅读 · 0 评论 -
hibernate注解配置联合主键
有时一个实体的主键可能同时为多个,例如下面使用的字典“Dictionary”实体,需要通过dictId 、dictTypeid 和cityId 来查找指定实体,当且仅当dictId 、dictTypeid 和cityId 的值完全相同时,才认为是相同的实体对象。要配置这样的联合主键,步骤如以下所示。(1)编写一个联合主键的类DictionaryPK,代码如下。[code="java...原创 2014-07-17 09:35:00 · 284 阅读 · 0 评论