从接触Hibernate起,至今已经快2年了。最初对Hibernate框架的印象就是能把一个类给我存到数据库里面去,也可以把数据库里的数据读出来放到类组成的集合里。用了最最简单的例子后,觉得非常神奇!想想原来的JDBC,繁琐枯燥的SQL语句,无聊重复的ResultSet处理,Connection对象...
分类:
系统相关 时间:
2014-07-14 09:59:42
阅读次数:
226
Class.forName("org.hsqldb.jdbcDriver").newInstance(); Connection con = java.sql.DriverManager.getConnection("jdbc:hsqldb:hsql://localhost:9001/hadoo.....
分类:
移动开发 时间:
2014-07-14 09:15:09
阅读次数:
220
原地址: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
IntroductionIn this lab you will modify YFS to cache extents, reducing the load on the extent server and improving YFS performance. The main challenge...
分类:
其他好文 时间:
2014-07-13 12:04:34
阅读次数:
279
昨天修改了一个工具,编译后本机运行正常,但放到服务器上执行却不行,提示:message:GetOleDbSchemaTable requires an open and available Connection. The connection's current state is closed重新检...
分类:
数据库 时间:
2014-07-13 08:24:44
阅读次数:
228
网上有两种解决方案:第一种是,每次执行语句的时候都和PHP的类似,先执行一句“set names utf8”或者“set names gb2312”;1 MySQLCommand setformat = new MySQLCommand("set names b2312",m_Connection)...
分类:
数据库 时间:
2014-07-13 00:24:53
阅读次数:
312
Exception in thread "HSQLDB Connection @429be9" java.lang.OutOfMemoryError: Java heap space
在服务器下的data/xxxx也就是数据库路径下,我的在F:\tomcat7\bin\data下删掉关于xxxx的文件及文件夹。...
分类:
数据库 时间:
2014-07-12 22:08:20
阅读次数:
338
启动android模拟器时.有时会报The connection to adb is down, and a severe error has occured.的错误.在网友说在任务管理器上把所有adb.exe关闭掉.重启eclipse.但试过不管用.所以在外国网站上找到一种可行的方法:
1.先把eclipse关闭.
2.在管理器转到你的android SDK 的platform-to...
分类:
数据库 时间:
2014-07-12 21:40:22
阅读次数:
260
ADO.NET技术主要包括Connection,Command,DataReader,DataAdapter,DateSet,DataTable等六种对象
1).Connection 对象的主要功能是与数据库连接(事物处理也使用此对象)
2).Command 对象用于返回数据,修改数据,运行存储过程以及发送或检索参数信息的数据库命令
3).DataReader 对象主要功能是以只进...
分类:
数据库 时间:
2014-07-12 18:10:24
阅读次数:
254
这是“windows phone mango本地数据库(sqlce)”系列短片文章的第八篇。 为了让你开始在Windows Phone Mango中使用数据库,这一系列短片文章将覆盖所有你需要知道的知识点。我将谈谈在windows phone mango本地数据库中使用Connection Stri...
分类:
数据库 时间:
2014-07-12 16:18:12
阅读次数:
193