码迷,mamicode.com
首页 >  
搜索关键字:transaction    ( 2262个结果)
Hibernate 的查询语言 HQL 与高级查询
Hibernate  的查询语言 HQL  与高级查询 数据库操作实现类的开发 import java.util.List; import org.hibernate.Query; import org.hibernate.SQLQuery; import org.hibernate.Session; import org.hibernate.Transaction; import org.s...
分类:编程语言   时间:2016-05-22 11:00:52    阅读次数:472
NoSQL
NoSQL 简介 NoSQL(NoSQL = Not Only SQL ),意即"不仅仅是SQL"。 关系型数据库遵循ACID规则 事务在英文中是transaction,和现实世界中的交易很类似,它有如下四个特性: 1、A (Atomicity) 原子性 原子性很容易理解,也就是说事务里的所有操作要 ...
分类:数据库   时间:2016-05-21 17:36:40    阅读次数:223
LeetCode OJ 121. Best Time to Buy and Sell Stock
Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitted to complete at most one transaction ...
分类:其他好文   时间:2016-05-21 11:25:15    阅读次数:130
LR http 接口测试模板
lr直接点击创建脚本,然后在action中编写代码,即可。具体脚本如下所示:Action(){intstatus;lr_start_transaction("send");web_reg_find("Search=All",//检查点函数的设置"SaveCount=ret_Count",//查找的参数保存的名字"Text=ahbei",LAST);status=web_url("usermsg","URL=http..
分类:Web程序   时间:2016-05-20 17:45:04    阅读次数:394
[转]How expensive are page splits in terms of transaction log?
How expensive are page splits in terms of transaction log? By: Paul Randal Page splits are always thought of as expensive, but just how bad are they? ...
分类:其他好文   时间:2016-05-18 23:57:37    阅读次数:227
【SSH】Hibernate:核心类和接口
Hibernate的核心类和接口一共有6个,分别为:Configuration、SessionFactory、Session、Query、Criteria和Transaction。这6个核心类和接口在任何开发中都会用到。通过这些接口,不仅可以对持久化对象进行存取,还能够进行事务控制。其中Query和Criteria是 hiernate 3中对Session 中find方法的取缔。...
分类:Web程序   时间:2016-05-18 18:55:14    阅读次数:164
《高性能MySQL》
基本概念和性能剖析schema和数据类型优化索引查询性能优化 基本概念和性能剖析   1、设置隔离级别 SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED 2、显示表的相关信息 SHOW...
分类:数据库   时间:2016-05-18 18:31:54    阅读次数:225
How to create/restore a slave using GTID replication in MySQL 5.6
MySQL 5.6 is GA! Now we have new things to play with and in my personal opinion the most interesting one is the new Global Transaction ID (GTID) suppo ...
分类:数据库   时间:2016-05-16 17:29:45    阅读次数:372
html5_websql
var db = openDatabase('mydb', '1.0', 'Test DB', 2 * 1024 * 1024); var msg; db.transaction(function (tx) { tx.executeSql('CREATE TABLE IF NOT EXISTS LO ...
分类:数据库   时间:2016-05-16 14:19:21    阅读次数:205
SQl 事务增加数据
连SQl简单地事务处理多表的情况 begin transaction declare @error int declare @QID int set @error = 0 insert into HW_Name (Name) values('{0}') 操作的SQL语句 set @QID=SCOPE ...
分类:数据库   时间:2016-05-15 10:53:38    阅读次数:231
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!