点击这里使用RSS订阅本Blog:
今天在修改search的建立索引的程序的时候,发现了这个错误使用jdbc读取SQLServer2005的一个表全部记录,该表具有10W记录,结果发生以下错误:Java代码com.microsoft.sqlserver.jdbc.SQLServerException:系统内存不足。请对大型ResultSet使用服务器端游标:Javaheapspace。ResultSet大小:236,535,956。JVM总内存大小:312,213,504。atcom.mic
系统 2019-08-29 22:57:56 2746
有关java各种框架的基础设计,笔者经验之谈,算是小结吧!:)一,Hibernate部分1,简述hibernate映射继承关系和映射组成关系有何异同?映射继承关
系统 2019-08-29 22:26:54 2746
弄了一天的图片上传(也就是在表单里面显示图片,预览图片),显示,通过网上找资料终于弄好了。现在整理一下,贴到这,下次要再用到也方便查询了。。。Java代码//uploadFile.jsExt.onReady(function(){varfileForm=newExt.form.FormPanel({title:"",renderTo:"fileUpload",fileUpload:true,layout:"form",id:"fileUploadForm"
系统 2019-08-29 22:05:44 2746
web2.0的几个开源项目Diggclone-开源digg类程序官方:http://www.talkingpixels.org/diggclone/index.php演示:同digg.com类似Aroundme-开源社会化网络程序官方:https://savannah.nongnu.org/projects/aroundme/演示:http://www.barnraiser.org/demos/(社会化网络程序通常都是收费的,相信这个是目前唯一免费的soc
系统 2019-08-12 09:26:50 2746
1、查询mysql包含某个字段的所有表:showtableslike'crm_%'2、查询mysql是否包含某张表:1)、DROPTABLEIFEXISTStablename;2)、做一个sql查询,比如:select*fromtablename/selectcount(*)fromtablename,如果返回值为空,则表不存在。3)、查询:SHOWTABLESLIKEtable1,判断返回值。如:if(mysql_num_rows(mysql_query
系统 2019-08-12 01:55:25 2746
http://www.geeksforgeeks.org/write-a-function-to-get-the-intersection-point-of-two-linked-lists/第一第二个方法比较简单,下面这段代码是第三个方法1#include2#include3#include4#include5#include6#include7#inc
系统 2019-08-12 01:53:45 2746
createproc[dbo].[SqlPager](@tblNamevarchar(255),--表名(注意:可以多表链接)@strGetFieldsvarchar(1000)='*',--需要返回的列@OrderfldNamevarchar(255)='',--排序的字段名@PageSizeint=10,--页尺寸@PageIndexint=1,--页码@doCountint=1output,--查询到的记录数@OrderTypebit=0,--设置排
系统 2019-08-12 01:53:14 2746
usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSW.Henu.DAO;usingSystem.Data;namespaceLogisManageLibrary{//////所有操作表类的抽象基类///publicabstractclassAManage{//////对应表的字段名称列表///pub
系统 2019-08-12 01:52:08 2746
最近需要发布一项web应用,无奈服务器上的jetty已经被使用,只能选择用tomcat来发布。没搞过可怎么办呀,从网上找了好多教程,自己慢慢研究,总算环境搭建起来了1.下载jdk下载地址:http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u25-download-346242.html最好用“bin”结尾的2.下载tomcat下载地址:http://apache.etoak.com/t
系统 2019-08-12 01:33:54 2746