java.sql.SQLException: Incorrect string value: '\xE6\x88\x91\xE7\x9A\x84...' for column 'groupName' at row 1甚是纠结,我原本以为应该是以下问题之一:(1).创建数据库的时候数据编码设置错误(2...
分类:
数据库 时间:
2014-10-22 12:15:55
阅读次数:
337
Caused by: java.sql.BatchUpdateException: Data truncation: Data too long for column 'titleimg' at row 1 at com.mysql.jdbc.PreparedStatement.execute...
分类:
其他好文 时间:
2014-10-21 17:15:32
阅读次数:
274
//获取公示栏内容 s = "$row.detail$"; mainContent =s; //如果有多个table使用下面注释的正则只会匹配成一个table //var tabReg ...
分类:
Web程序 时间:
2014-10-21 15:05:12
阅读次数:
246
在linux下用c语言利用信号机制完成了一个弹球的小游戏,代码如下:
bounce.h
/* bounce.h */
/* some settings for the game */
#define BLANK ' '
#define DFL_SYMBOL 'o'
#define TOP_ROW 5
#define BOT_ROW 20
#define LEFT_EDGE...
分类:
系统相关 时间:
2014-10-21 12:27:14
阅读次数:
511
1 public class Q1_7{ 2 3 public static void SetZero(int[][] matrix){ 4 5 boolean [] row= new boolean[matrix. length]; 6 7 boolean[] column =new ...
分类:
其他好文 时间:
2014-10-20 21:09:58
阅读次数:
226
案例:Slave启用了复制过滤-replicate-do-db=db1(ROW复制模式),具体过滤注意事项可以参考我之前的blogMySQL复制过滤注意事项,在Master上执行altertabledb1.tb1addxxx,Slave相关tb1表没有生效;Slave复制正常,errorlog没啥信息,我印象当中DML(insert,delete,update)操作u..
分类:
数据库 时间:
2014-10-20 19:39:19
阅读次数:
190
mysql的INNODB引擎锁的原理是怎样的,来做个试验。
mysql> SELECT VERSION();
+-----------+
| VERSION() |
+-----------+
| 5.5.20 |
+-----------+
1 row in set (0.00 sec)
CREATE TABLE test
(
a INT(5),
b V...
分类:
数据库 时间:
2014-10-20 17:18:43
阅读次数:
234
JdbcTemplate的queryForMap方法报错 queryForMap方法使用不当,就会出错,使用方式如下: The queryForMap method in JdbcTemplate only expects a single row to be returned, The retur...
分类:
数据库 时间:
2014-10-20 17:00:22
阅读次数:
297
bootstrap 2.3版与3.0版重要类的改变对比Bootstrap 2.xBootstrap 3.0.container-fluid.container.row-fluid.row.span*.col-md-*.offset*.col-md-offset-*.brand.navbar-bran...
分类:
其他好文 时间:
2014-10-20 16:46:41
阅读次数:
158
一、手工查询得出名次select * ,select count(*)+1 from T2 where T2.[成绩] > T1.[成绩] as 名次 from T1结果:12335二、SQL Server 2005 的排序函数 ROW_NUMBER、RANK、DENSE_RANK1.ROW_NUM...
分类:
数据库 时间:
2014-10-20 13:06:40
阅读次数:
197