begintransaction--开始事务
rollbacktransaction--回滚事务
committransaction--提交事务
alterprocaaa
as
begintransaction
insertintostu(STU_NAME,STU_SEX)values(‘aa‘,‘男‘)
if@@rowcount=0or@@error<>0--受影响的行数=0或者有错误代码
begin
rollbacktransaction..
分类:
数据库 时间:
2014-11-05 15:05:23
阅读次数:
170
1.系统业务处理能力,即通常我们在进行性能测试的时候,在特定的硬件和软件环境下考察的业务处理能力,即“事物”,需要关注当前、平时、峰值以及长远未来业务发展情况,考虑不同业务的处理数量,从而设定相应的业务处理性能指标。系统业务处理能力性能指标包括:TPS(Transaction per Second每...
分类:
其他好文 时间:
2014-11-03 14:21:49
阅读次数:
224
三种状态:生命周期:代码表示://三种状态publicvoidtestThreeState(){TUser user=newTUser();user.setName("spark"); //此时user处于Transienttry{Transaction tx=session.beginTransa...
分类:
Web程序 时间:
2014-11-02 22:11:59
阅读次数:
253
transient:表示临时的,不会被持久化,保存进数据库transaction:表示事务System.out.println(123);
分类:
其他好文 时间:
2014-11-01 14:51:15
阅读次数:
183
环境:RAC 4节点、oracle 11.2.0.4、redhat 5.9 64bit 问题描述: 1.alert.log每隔一段时间就会报如下错误: Transaction recovery: lock conflict caught and ignored Transaction recover...
分类:
其他好文 时间:
2014-10-31 21:53:11
阅读次数:
1255
AOP(AspectOrient Programming),也就是面向切面编程。AOP将应用系统分为两部分,核心业务逻辑(Core business concerns)及横向的通用逻辑,也就是所谓的方面Crosscuttingenterprise concerns,例如,所有大中型应用都要涉及到的持久化管理(Persistent)、事务管理(Transaction Management)、安全管理...
分类:
编程语言 时间:
2014-10-31 19:08:32
阅读次数:
222
1、报错如下:Invalid Operation the connection is closed,无效操作,连接被关闭。这个错误是并不是每次都报,只有在复杂操作、大事务的情况下才偶然报出来。stackOverflow上有很多关于这个问题的讨论,例如这个:《System.Data.OracleCli...
分类:
其他好文 时间:
2014-10-31 18:52:42
阅读次数:
664
In this Document
Goal
Solution
References
APPLIES TO:
Oracle Inventory Management - Version: 10.7 to 12.1.3 - Release: 10.7 to 12.1
Information in this document applies to any pl...
分类:
其他好文 时间:
2014-10-30 19:16:45
阅读次数:
183
In this Document
Goal
Solution
References
APPLIES TO:
Oracle Inventory Management - Version 10.7 to 12.1.3 [Release 10.7 to 12.1]
Information...
分类:
其他好文 时间:
2014-10-30 19:15:23
阅读次数:
231
数据处理大致可以分成两大类: 联机事务处理OLTP (on-line?transaction?processing)、 联机分析处理OLAP (On-Line?Analytical?Processing)。 OLTP是传统的关系型数据库的主要应用 ,主要是基本的、日...
分类:
数据库 时间:
2014-10-29 13:14:31
阅读次数:
266