07 2014 档案
摘要:一:非声明式事务,利用spring aop 配置此方式无需手动抛出runtimeException 二:声明式事务,利用注解配置信息: @Transactional(rollbackFor = Exception.class)默认情况下,此注解只对Runti...
阅读全文
摘要:JSP中的指令包括:page、include、taglib。1.page指令:page指令提供JSP页面的属性,其中定义的属性适合当前JSP页面及所有通过include指令或者动作包含的静态文件,但是不适用于动态文件。例:2.include指令:include指令的作用是把JSP程序、HTML网页文...
阅读全文
摘要:一: 事件: 初始化函数中: //禁用回车 后退事件 document.onkeydown = function () { if (window.event && (window.event.keyCode == 13 || window.event.keyCode== 8)) { window.e
阅读全文
摘要:select * from 表A where exists(select * from 表B where 表B.id=表A.id) 这句相当于 select * from 表A where id in (select id from 表B) 对于表A的每一条数据,都执行select * from 表
阅读全文
摘要:1 instr(objClob,objstr,beginIndex,appearIndex)objClob:带检索目对象,可以是clob,stringobjstr: 需要验证的字符串beginIndex: 开始检索位置,默认从1开始appearIndex: 出现的位置,默认为1select inst...
阅读全文

浙公网安备 33010602011771号