上一页 1 ··· 278 279 280 281 282 283 284 285 286 ··· 785 下一页
摘要: 关于utf8不支持emoji是因为emoji是用4个字节存储的字符,而mysql的utf8只能存储1-3个字节的字符。那就存不了呗 需要更改的地方:(1)Mysql服务器client,mysql,mysqld中需要显式指定字符集为utf8mb4(2)在(1)的服务器上创建的db,需要为utf8mb4 阅读全文
posted @ 2016-08-15 21:14 沧海一滴 阅读(6960) 评论(0) 推荐(0)
摘要: SqlSessionFactory sqlSessionFactory =new SqlSessionFactoryBuilder().build(inputStream, properties); this中的处理逻辑: org.apache.ibatis.parsing.XPathParser 阅读全文
posted @ 2016-08-15 15:41 沧海一滴 阅读(7596) 评论(0) 推荐(0)
摘要: org.apache.ibatis.executor.SimpleExecutor org.apache.ibatis.executor.BaseExecutor org.apache.ibatis.transaction.jdbc.JdbcTransaction org.apache.ibatis 阅读全文
posted @ 2016-08-14 19:48 沧海一滴 阅读(1908) 评论(0) 推荐(0)
摘要: 1.1 获得当前日期+时间(date + time)函数:now() 除了 now() 函数能获得当前的日期时间外,MySQL 中还有下面的函数: current_timestamp() current_timestamp localtime() localtime localtimestamp() 阅读全文
posted @ 2016-08-14 14:20 沧海一滴 阅读(615) 评论(0) 推荐(0)
摘要: public static void main(String[] args) { StopWatch stopWatch = new StopWatch("联系人"); stopWatch.start("t1"); stopWatch.stop(); stopWatch.start("t2"); s 阅读全文
posted @ 2016-08-14 12:36 沧海一滴 阅读(1890) 评论(0) 推荐(0)
上一页 1 ··· 278 279 280 281 282 283 284 285 286 ··· 785 下一页