- 博客(9)
- 资源 (5)
- 收藏
- 关注
原创 springMvc+myBatis上传图片到mySQL数据库
思路:将前台上传的file存到pojo类中的MutipartFile类型字段中,再将MulipartFile转换为byte[]数组,最后存入数据库longBlob类型字段中 1、jsp(enctype必须设置为"multipart/form-data") 上传头像 上传头像
2015-12-27 20:27:44 13859 6
转载 oracle触发器 判断插入的记录是否满足条件,如果满足,则在b表中插入相应记录
需求:表A,有字段level等,当a中记录有update操作时,如果其字段level>3,则把这条记录插入到B表中, create trigger triggerTest on A for update as begin insert b select xxx,xxx from inserted a //查询在a中插入的记录的level字
2015-12-17 10:58:36 2715
转载 oracle简单触发器
触发器写法:create or replace trigger UserToTemp after insert or update or deleteon 表1 for each rowdeclare //定义变量 integrity_error exception; errno integer; errmsg char(2
2015-12-17 10:31:58 412
转载 ORA-14411: 该 DDL 不能与其他 DDL 并行运行
1.查找出被锁定的会话的sid,serial#select sid,serial# from v$session t where t.SID IN (select session_id from v$locked_object);2.结束掉进程(有几行执行几次)alter system kill session '25,3343';kill system
2015-12-16 17:05:38 2991 1
原创 退出时清空session并关闭所有打开的子页面
var windowObjList=new Array();//用于子页面关闭function newWindow(url){ var windowObj =window.open(url,"_blank");//将打开的窗口对象作为值赋给Wind对象,括号里意思(地址,长宽) windowObjList.push(windowObj);}//关闭子页面//.....清空se
2015-12-11 11:48:28 635
原创 easyui分页显示本地log4j文件+文件下载+打包下载
DAO层private File[] files=null; @Override public DataGrid getAllData(LogFile l) { DataGrid dg = new DataGrid(); List rowsList = new ArrayList(); long total=0; InputStream logInputStr
2015-12-09 09:53:14 602
转载 获取properties中的 value
Properties properties = new Properties(); try { properties.load(Thread.currentThread().getContextClassLoader().getResourceAsStream("log4j.properties")); configPath = properties.getPrope
2015-12-09 09:50:44 469
转载 easyui datagrid getChecked只能获取一行的问题
datagrid初始化时需要指定idFiled属性,指明哪一个字段是标识字段(string)。
2015-12-08 13:43:56 1542
jQueryAPI_CH.chm
2016-03-14
JDK_API6.0_中文版CHM
2016-03-14
jEasyUI1.3.6版API中文版(Richie696).chm
2016-03-14
the elements of java style.pdf
2016-03-14
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人