摘要: 在spring机制中,在配置事务后,如果采用try catch 捕获异常后,因为异常已经被捕获,所以事务不会滚,从而产生许多脏数据。解决办法: 1.在catch中抛出异常,(throw new RuntimeException("");)且为运行时异常,抛出普通异常不会滚。 2.如果为注解配置,那么 阅读全文
posted @ 2016-07-05 11:33 别问1991 阅读(759) 评论(0) 推荐(0) 编辑
摘要: 在使用maven是,因内外网限制往往需要配置自由的maven库,小编看见网上教程数不胜数,遍主动试试 以下是下载地址 : http://www.sonatype.com/download-oss-sonatype 小编因为选择了3.0 呵呵呵,这是一个坑,后续再说,先上图: maven的版本无论是公 阅读全文
posted @ 2016-06-09 18:02 别问1991 阅读(19918) 评论(1) 推荐(0) 编辑
摘要: create or replace procedure remove_refund_his_pro isbegin declare cursor refund_query_cur is select rowid from ucmp_realtime_refund_query t1 where t1. 阅读全文
posted @ 2016-05-18 17:10 别问1991 阅读(2721) 评论(3) 推荐(0) 编辑
摘要: 当 waybill_no 存在索引时 select * from ucmp_waybill_rec_mem r where r.createtm >= trunc(sysdate - 1) and r.type = '2' and r.waybill_no like '033%' 与 select 阅读全文
posted @ 2016-02-01 10:50 别问1991 阅读(1351) 评论(0) 推荐(0) 编辑