自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

转载 StringUtils类的ordinalIndexOf中有一个错误

* StringUtils.ordinalIndexOf(null, *, *) = -1 * StringUtils.ordinalIndexOf(*, null, *) = -1 * StringUtils.ordinalIndexOf("", "", *) = 0 * StringUtils.ordinalIndexOf...

2018-01-08 17:55:00 1380

转载 spring中使用Hibernate中的getCurrentSession报出:createQuery is not valid without active transaction...

1.错误信息HTTP Status 500 - createQuery is not valid without active transactiontype Exception reportmessage createQuery is not valid without active transactiondescription The server e...

2016-11-29 12:20:00 170

转载 spring aop

一、schema方式1. 增加代码package com.tcf.aop;import java.util.Arrays;import org.apache.log4j.Logger;import org.aspectj.lang.JoinPoint;import org.aspectj.lang.ProceedingJoinPoint;pub...

2016-11-26 11:14:00 76

转载 触发器

常用触发器 1 -- 行级触发器 2 3 --当对一个emp进行删除时将原数据进行备份 4 --创建备份表 5 create table emp_BAk as select * from emp; 6 truncate table emp_BAk; 7 -- 触发器 8 create or replace trigger bak_emp 9 b...

2016-09-24 12:28:00 100

转载 Struts2下载

1 package com.tcf.action; 2 3 import java.io.BufferedInputStream; 4 import java.io.FileInputStream; 5 import java.io.FileNotFoundException; 6 import java.io.InputStream; 7 8...

2016-09-23 13:17:00 55

转载 Struts2多文件上传

Struts2多文件上传 1 package com.tcf.action; 2 3 import java.io.File; 4 import java.io.FileInputStream; 5 import java.io.FileNotFoundException; 6 import java.io.FileOutputStream; 7 imp...

2016-09-23 13:12:00 57

转载 Struts2拦截器

实现用户登录过滤UserLoginInterceptor.java 1 package com.tcf.inter; 2 3 import java.util.List; 4 5 import com.opensymphony.xwork2.Action; 6 import com.opensymphony.xwork2.ActionContext;...

2016-09-23 12:45:00 57

转载 程序包的使用

一、程序包简使用--创建一个程序包规范,以scott.emp表为数据 1 --程序包 2 create or replace package emp_package 3 is 4 minsal emp.sal%type;--最小工资 5 maxsal emp.sal%type;--最大工资 6 -- 添加员工信息 7 procedure addEmp(...

2016-09-22 12:24:00 211

转载 HelloWorld

测试,莫回HelloWorld【发文说明】 博客园是面向开发者的知识分享社区,不允许发布任何推广、广告、政治方面的内容。 博客园首页(即网站首页)只能发布原创的、高质量的、能让读者从中学到东西的内容。 如果博文质量不符合首页要求,会被工作人员移出首页,望理解。如有疑问【发文说明】 博客园是面向开发者的知识分享社区,不允许发布任何推广、广告、政治方面的内容。 ...

2016-03-25 13:57:00 86

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除