码迷,mamicode.com
首页 >  
搜索关键字:transaction    ( 2262个结果
SQLITE和QT
sqlite3数据库支持事务例如:1 BEGIN DEFERRED TRANSACTION;2 INSERT INTO main.test_transaction (test_unique) VALUES ('test_6');3 INSERT INTO main.test_transaction ...
分类:数据库   时间:2014-10-11 19:50:57    阅读次数:276
Batch Processing
下面例子展示批量插入一个反模式(不成熟使用Hibernate插入100000行记录) ?Session session = sessionFactory.openSession(); ?Transaction tx = session.beginTransaction(); ?for ( int i=0; i<100000; ...
分类:其他好文   时间:2014-10-11 19:40:17    阅读次数:231
Could not open JDBC Connection for transaction; nested exception is java.sql.SQLException: Connectio
严重: StandardWrapper.Throwableorg.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is java.sql.SQLException: Connections co...
分类:数据库   时间:2014-10-11 17:08:35    阅读次数:342
Tuxedo入门学习
中间件介绍:介于客户机和server之间的夹层,突破了传统的c/s架构,为构建大规模,高性能,分布式c/s应用程序提供了通信,事物,安全,容错等基础服务,屏蔽了底层应用细节,应用程序不必从底层开发,以自身的复杂性换取应用程序开发的简单。Tuxedo是什么?Tuxedo:Transaction for...
分类:其他好文   时间:2014-10-10 22:19:14    阅读次数:339
关系型数据库事务处理ACID
ACID,指数据库事务正确执行的四个基本要素的缩写。包含:原子性(Atomicity)、一致性(Consistency)、隔离性 (Isolation)、持久性(Durability)。一个支持事务(Transaction)的数据库系统,必需要具有这四种特性,否则在事务过程 (Transaction...
分类:数据库   时间:2014-10-10 00:09:57    阅读次数:309
MYSQL SQL Server 事务
开始: start transaction; # 一定要有这个 ‘;’ 号。注意: MYSQL 用的是快照隔离、就是说一个连接在修改的时候别的连接还是可以查询的。 例子: create table T1(X int); insert into T1(X) values(100)...
分类:数据库   时间:2014-10-09 19:16:37    阅读次数:162
TPCC-MYSQL 应用测试
TPCC-MySQL 基于TPCC协议的MySQL 实现TPCC简介:TPC-C is an on-line transaction processing benchmark,TPC-C simulates a complete computing environment where a popul...
分类:数据库   时间:2014-10-06 18:37:10    阅读次数:399
SQL_事务的并发控制
--多个用户对同一个数据操作时,一个用户的行为结果可能导致另一个用户使用的数据无效,通过事务的并发控制可以确保--同时发生的行为与数据的有效性不发生冲突begin transaction select * from teachers with(holdlock) --数据库加锁 wait...
分类:数据库   时间:2014-10-06 02:32:49    阅读次数:213
SQL_新建一个事务
begin transaction insert into teachers (Name,Age,Greade) values('HELLO',50,'高三二班') insert into Students (ClassName,Name,Age) values('高三六班','张永和'...
分类:数据库   时间:2014-10-06 02:28:09    阅读次数:202
SQL_事务回滚
begin try begin transaction insert into teachers (Name,Age,Greade) values('test1',40,'高三三班') insert into Students (ClassName,chinese,...
分类:数据库   时间:2014-10-06 01:19:59    阅读次数:191
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!