码迷,mamicode.com
首页 >  
搜索关键字:read    ( 19693个结果
MySQL 数据库事物隔离级别的设置
select @@tx_isolation; //查看隔离级别set session transaction isolation level read uncommitted; //设置读未提交级别start transaction; //打开事务rollback; //回滚commit; //提交...
分类:数据库   时间:2015-01-30 19:15:27    阅读次数:172
python 错误问题解决
获取天气信息#encoding:UTF-8import urllib.requestimport redef getHtml(url): page=urllib.request.urlopen(url) html=page.read() page.close() ...
分类:编程语言   时间:2015-01-30 19:01:45    阅读次数:166
Camel概念【JMS】
JMS (Java Message Service) JMS (Java Message Service) is a Java API that allows you to create, send, receive, and read messages. It also mandates that messaging is asynchronous and has specific ele...
分类:其他好文   时间:2015-01-30 16:20:14    阅读次数:138
(转)mysql、sqlserver、oracle的默认事务的隔离级别
1、mysql的默认事务的隔离级别:可重复读取(repeatable read);2、sqlserver的默认事务的隔离级别:提交读取(read committed);3、oracle的默认事务的隔离级别:提交读取(read committed).
分类:数据库   时间:2015-01-30 15:01:09    阅读次数:197
redis的read error on connection错误解决
昨日,公司php调用redis报错:readerroronconnection 2015-01-2923:59:050.13330000,redis存放的是用户session。 在网上查询,大家说法都比较一致,说是php.ini文件中的一个配置项导致: default_socket_timeout....
分类:其他好文   时间:2015-01-30 14:51:56    阅读次数:1108
一个简单的Python网络爬虫(抓图),针对某论坛.
1 #coding:utf-8 2 import urllib2 3 import re 4 import threading 5 6 #图片下载 7 def loadImg(addr,x,y,artName): 8 data = urllib2.urlopen(addr).read()...
分类:编程语言   时间:2015-01-30 14:37:43    阅读次数:150
java.sql.SQLException: Connection is read-only. Queries leading to data modification are not allowed
org.springframework.dao.TransientDataAccessResourceException: ### Error updating database. Cause: java.sql.SQLException: Connection is read-only. Que....
分类:数据库   时间:2015-01-30 14:33:29    阅读次数:255
python图片小爬虫
import re import urllib import os def rename(name): name = name + '.jpg' return name def getHtml(url): page = urllib.urlopen(url) html = page.read() return html def getImg(ht...
分类:编程语言   时间:2015-01-30 09:08:37    阅读次数:211
Count and Say
The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1is read off as"one 1"or11.11is read off as"tw...
分类:其他好文   时间:2015-01-30 06:37:50    阅读次数:188
Weka算法介绍
RWeka(http://cran.r-project.org/web/packages/RWeka/index.html) :1) 数据输入和输出WOW():查看Weka函数的参数。Weka_control():设置Weka函数的参数。read.arff():读Weka Attribute-Rel...
分类:编程语言   时间:2015-01-29 22:17:53    阅读次数:187
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!