码迷,mamicode.com
首页 >  
搜索关键字:transaction monitor not available    ( 6613个结果
转xampp 访问出现New XAMPP security concept
New XAMPP security concept:Access to the requested directory is only available from the local network.This setting can be configured in the file “http...
分类:其他好文   时间:2014-10-06 18:03:00    阅读次数:262
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 transaction insert into teachers (Name,Age,Greade) values('test1',40,'高三三班') insert into Students (ClassName,Name,Age) values('高三六班','小花',...
分类:数据库   时间:2014-10-06 01:35:19    阅读次数:231
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
ubuntu下的apache的虚拟主机的配置
ubuntu下的虚拟主机的配置相对window下的虚拟主机配置有些许不同。 对于要新建的虚拟主机,我们可以有如下几个步骤: 1.在/etc/apache2/sites-available/目录下新建一个你要配置主机的文件,打开他,进行配置:sudo vi /etc/apache2/sites...
分类:其他好文   时间:2014-10-05 20:57:18    阅读次数:226
Hibernate中使用HQLQuery查询全部数据和部分数据
package com.lc.view; import java.util.Iterator; import java.util.List; import org.hibernate.Session; import org.hibernate.Transaction; import com.lc.domain.Student; import com.lc.utils.HibernateUti...
分类:系统相关   时间:2014-10-05 19:07:48    阅读次数:262
php 编译安装选项
./configure --prefix=/usr/local/php/ --with-config-file-path=/etc/php5/cli/ --with-config-file-scan-dir=/etc/php5/mods-available/ --with-apxs2=/usr/lo...
分类:Web程序   时间:2014-10-05 18:43:38    阅读次数:202
mysql数据恢复
[1] 当数据库被删除后的恢复方法 首先建立一个测试用的数据库。mysql-uroot-p123123←用root登录到MySQL服务器Enterpassword:←输入MySQL的root用户密码Welcome to the MySQL monitor. Commands end with...
分类:数据库   时间:2014-10-04 17:13:46    阅读次数:304
Spring transaction事务之roll back回滚
转自:http://blog.csdn.net/lovejavaydj/article/details/7635848试验方法: 写一个单元测试,调用一个service层方法(发生对数据库进行写操作的方法--insert、update、delete)即可.试验过程: 定义一个service方法如下:...
分类:编程语言   时间:2014-10-04 14:44:46    阅读次数:209
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!