上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 18 下一页
摘要: Hibernate: create table City (cityId varchar(255) not null, cityName varchar(200), remark longtext, versionNum integer, country_countryID varchar(255)... 阅读全文
posted @ 2014-10-14 16:59 LeonGo 阅读(259) 评论(0) 推荐(0) 编辑
摘要: MySQL 5中,出现错误提示:Field 'id' doesn't have a default value解决方法一:打开my.ini,查找sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"修改为sq... 阅读全文
posted @ 2014-10-14 16:54 LeonGo 阅读(2262) 评论(0) 推荐(0) 编辑
摘要: 需要使用persistence.xml进行配置。 1 2 3 4 org.hibernate.ejb.HibernatePersistence 5 dataSource --> 6 net.etec.ftm.domain.City 7 net.etec.ftm.do... 阅读全文
posted @ 2014-10-14 15:22 LeonGo 阅读(1085) 评论(0) 推荐(0) 编辑
摘要: 1 改为1 JTA 在jee环境下运行RESOURCE_LOCAL在jse环境下使用 阅读全文
posted @ 2014-10-14 15:07 LeonGo 阅读(3441) 评论(0) 推荐(0) 编辑
摘要: The resource identified by this request is only capable of generating responses with characteristics not acceptable according to the request "accept" ... 阅读全文
posted @ 2014-10-14 10:26 LeonGo 阅读(1151) 评论(0) 推荐(0) 编辑
摘要: 大约1万多条数据,查询一页非常慢,需要90秒然后增加了一列后,查询速度正常了。猜测可能是索引没有建立,sqlserver在表结构改变后,重建了索引。 阅读全文
posted @ 2014-10-13 10:55 LeonGo 阅读(562) 评论(0) 推荐(0) 编辑
摘要: enumintenum->int:int i=enumType.value.ordinal();int->enum:enumTypeb=enumType.values()[i];enumStringenum -> String: enumType.name()String -> enum: enum... 阅读全文
posted @ 2014-10-11 17:34 LeonGo 阅读(296) 评论(0) 推荐(0) 编辑
摘要: 一、DBCC 帮助类命令* DBCC HELP('?')查询所有的DBCC命令* DBCC HELP('命令')查询指定的DBCC命令的语法说明* DBCC USEROPTIONS返回当前连接的活动(设置)的SET选项二、DBCC 检查验证类命令* DBCC CHECKALLOG ('数据库名称')... 阅读全文
posted @ 2014-10-11 17:32 LeonGo 阅读(305) 评论(0) 推荐(0) 编辑
摘要: -----------------------------全文索引使用小例------分别使用SQL2000和SQL2005------------------------使用场合:复杂化查询 文本数据存储在数据列中--环境usepooflygoCREATETABLEHELLO(IDINTNOTNU... 阅读全文
posted @ 2014-10-11 17:31 LeonGo 阅读(787) 评论(0) 推荐(0) 编辑
摘要: ContextLoaderListener构建Root Context时序图DispatcherServlet创建context时序图: 阅读全文
posted @ 2014-10-10 23:14 LeonGo 阅读(180) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 18 下一页