在开发程序的时候,我们使用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
下面是备份系统的方法:然后打开终端,输入以下命令:1、成为根用户: sudo su2、转到根目录: cd /然後,下面就是我用来备份我的系统的完整的命令:tar -cvpzf /media/sda7/backup.tgz --exclude=/proc --exclude=/lost+found -...
分类:
其他好文 时间:
2014-07-16 22:51:00
阅读次数:
186
今天遇到问题,删除文件即搞定!!~~~~~~~~~~~~~~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
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
package custom.gef.editor.model;import custom.gef.editor.model.connection.MessageFromModel;import custom.gef.editor.model.connection.MessageToModel;im...
分类:
其他好文 时间:
2014-07-11 12:49:27
阅读次数:
149
如题,默认下,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