在开发程序的时候,我们使用mysql数据库开发的时候,有时会碰到自己明明输入的是中文,为什么数据库中存储的就是????1、在配置Connection URL时,加上?useUnicode=true&characterEncoding=utf-82、编辑/etc/my.cnf在[mysqld]下添加d...
分类:
数据库 时间:
2014-07-16 23:02:33
阅读次数:
265
错误Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-6.xml, reason: Connection to https://dl-ssl.google.com refusedFailed to ...
分类:
移动开发 时间:
2014-07-16 22:58:26
阅读次数:
234
今天遇到问题,删除文件即搞定!!~~~~~~~~~~~~~~SSH登陆错误 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!Connection to 192.168.10.20 closed. [root@localhost ~]# ssh 192....
分类:
其他好文 时间:
2014-07-16 20:42:07
阅读次数:
195
从接触Hibernate起,至今已经快2年了。最初对Hibernate框架的印象就是能把一个类给我存到数据库里面去,也可以把数据库里的数据读出来放到类组成的集合里。用了最最简单的例子后,觉得非常神奇!想想原来的JDBC,繁琐枯燥的SQL语句,无聊重复的ResultSet处理,Connection对象...
分类:
系统相关 时间:
2014-07-14 09:59:42
阅读次数:
226
原地址:http://blog.csdn.net/foxeatapple/article/details/8450372问题描述使用SDK Manager更新时出现问题Failed to fetch URL https://dl-ssl.google.com/android/repository/r...
分类:
移动开发 时间:
2014-07-13 12:18:45
阅读次数:
252
昨天修改了一个工具,编译后本机运行正常,但放到服务器上执行却不行,提示:message:GetOleDbSchemaTable requires an open and available Connection. The connection's current state is closed重新检...
分类:
数据库 时间:
2014-07-13 08:24:44
阅读次数:
228
网上有两种解决方案:第一种是,每次执行语句的时候都和PHP的类似,先执行一句“set names utf8”或者“set names gb2312”;1 MySQLCommand setformat = new MySQLCommand("set names b2312",m_Connection)...
分类:
数据库 时间:
2014-07-13 00:24:53
阅读次数:
312
1.TNS-00525: Insufficient privilege for operationStarted with pid=30869Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ora11g)(PORT=1521)))Err...
分类:
其他好文 时间:
2014-07-12 13:27:00
阅读次数:
187
如题,默认下,HttpClient是不能请求Https的,需要自己获取[java] view plaincopyprivatestaticfinalintSET_CONNECTION_TIMEOUT=5*1000;privatestaticfinalintSET_SOCKET_TIMEOUT=20*...
分类:
移动开发 时间:
2014-07-11 11:03:20
阅读次数:
176
按月统计注册人数
java类:
package com.spring.controller;
import java.io.IOException;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
i...
分类:
其他好文 时间:
2014-07-10 20:51:40
阅读次数:
193