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
--多个用户对同一个数据操作时,一个用户的行为结果可能导致另一个用户使用的数据无效,通过事务的并发控制可以确保--同时发生的行为与数据的有效性不发生冲突begin transaction select * from teachers with(holdlock) --数据库加锁 wait...
分类:
数据库 时间:
2014-10-06 02:32:49
阅读次数:
213
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
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
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下的虚拟主机的配置相对window下的虚拟主机配置有些许不同。 对于要新建的虚拟主机,我们可以有如下几个步骤: 1.在/etc/apache2/sites-available/目录下新建一个你要配置主机的文件,打开他,进行配置:sudo vi /etc/apache2/sites...
分类:
其他好文 时间:
2014-10-05 20:57:18
阅读次数:
226
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
./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
[1] 当数据库被删除后的恢复方法 首先建立一个测试用的数据库。mysql-uroot-p123123←用root登录到MySQL服务器Enterpassword:←输入MySQL的root用户密码Welcome to the MySQL monitor. Commands end with...
分类:
数据库 时间:
2014-10-04 17:13:46
阅读次数:
304
转自:http://blog.csdn.net/lovejavaydj/article/details/7635848试验方法: 写一个单元测试,调用一个service层方法(发生对数据库进行写操作的方法--insert、update、delete)即可.试验过程: 定义一个service方法如下:...
分类:
编程语言 时间:
2014-10-04 14:44:46
阅读次数:
209