2016年7月7日

mysql建表语句注意事项

摘要: 在mysql中,varchar和char类型必须指定长度,int类型不需要指定。 例如 SET NAMES utf8;DROP TABLE IF EXISTS `content_type`;CREATE TABLE `content_type` ( `id` BIGINT NOT NULL AUTO 阅读全文

posted @ 2016-07-07 11:03 青葱的岁月 阅读(221) 评论(0) 推荐(0) 编辑

2016年6月15日

Mybatis JdbcType与Oracle、MySql数据类型对应列表

摘要: MybatisJdbcTypeOracleMySql JdbcType ARRAY JdbcType BIGINT BIGINT JdbcType BINARY JdbcType BIT BIT JdbcType BLOB BLOB BLOB JdbcType BOOLEAN JdbcType CH 阅读全文

posted @ 2016-06-15 19:49 青葱的岁月 阅读(13245) 评论(0) 推荐(0) 编辑

2016年5月5日

java String 转boolean

摘要: Boolean.parseBoolean(String str); Parses the string argument as a boolean. The boolean returned represents the value true if the string argument is no 阅读全文

posted @ 2016-05-05 16:11 青葱的岁月 阅读(4869) 评论(1) 推荐(0) 编辑

导航