在上一篇的基础上,本篇实现修改undo segment header中的相关事务槽信息,从而屏蔽数据库在重启或者进程异常的时候,smon的回滚操作,从而比较完美的实现了手工提交数据库事务
实验过程如下
Session 1中
JP@ORCL>select last_name from bbed_test;
LAST_NAME
-------------------------
OC...
分类:
数据库 时间:
2014-06-10 15:10:40
阅读次数:
297
hql中不能写count(1)可以写count(a.id)里面写具体的属性
String hql="select new com.haiyisoft.vo.entity.cc.repo.BusinessStat( r.paramName ,t.paramName , "
+" (select nvl(count(1),0) "
+" from co...
分类:
其他好文 时间:
2014-06-10 14:54:59
阅读次数:
168
选择音频,添加附件成功后,返回ComposeMessage,编辑彩信界面,这里我们继续输入文本内容:
第一步,处理附件:选择附件后,处理添加的附件;
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
if (LogTag.VE...
分类:
移动开发 时间:
2014-06-10 13:56:24
阅读次数:
348
1.知识点:可以对照下面的录屏进行阅读
SQL> --组函数类型:avg,count,max,min,sum
SQL> --工资总额
SQL> select sum(sal) from emp;
SQL> --员工人数
SQL> select count(*) from emp;
SQL> --平均工资
SQL> select sum(sal)/count(*) 一, avg(sal) ...
分类:
数据库 时间:
2014-06-10 13:51:45
阅读次数:
362
1.知识点:可以对照下面的录屏进行阅读
SQL> --子查询所要解决的问题:问题不能一步求解
SQL> --查询工资比SCOTT高的员工信息
SQL> --(1)使用普通方法
SQL> --1. SCOTT的工资
SQL> select sal from emp where ename='SCOTT';
SQL> --2. 查询比3000高的员工
SQL> select *
2 fro...
分类:
数据库 时间:
2014-06-10 13:50:32
阅读次数:
239
1.知识点:可以对照下面的录屏进行阅读
SQL> --等值连接
SQL> --查询员工信息: 员工号 姓名 月薪 部门名称
SQL> select empno,ename,sal,dname
2 from emp,dept
3 where emp.deptno=dept.deptno;
SQL> --不等值连接
SQL> --查询员工信息: 姓名 月薪 工资级别
SQL> ...
分类:
数据库 时间:
2014-06-10 13:32:59
阅读次数:
262
DAL是指Data Access Layer,DALFactory是用于创建数据访问对象的工厂,本质上是采用了抽象工厂的设计模式,目的是支持多种数据访问层,比如sql server和oracle两种实现;同时又利用了.net的反射机制,通过配置文件即可确定采用哪种数据访问实现;IDAL是数据访问层接口,这样做的好处是使业务逻辑层调用数据访问层的接口即可实现数据库的增删改等操作,业务逻辑层与数据访问...
分类:
其他好文 时间:
2014-06-10 07:29:48
阅读次数:
183
Graph coloring is the problem of assigning a color to each vertex of an undirected graph such that no two adjacent vertices have the same color. We implement the greedy algorithm from Scalable parallel graph coloring algorithms. The algorithm iteratively f...
分类:
其他好文 时间:
2014-06-10 07:10:19
阅读次数:
260
Two players, S and T, are playing a game where they make alternate moves. S plays
first.
In this game, they start with an integer N. In each move, a player removes one digit from the integer and p...
分类:
其他好文 时间:
2014-06-10 06:31:29
阅读次数:
302
在很多企业级应用中,我们都没法直接通过开发语言sdk...
分类:
其他好文 时间:
2014-06-10 06:19:48
阅读次数:
219