【优秀资料】2015年持久层用户开发手册模板(提交版)

【优秀资料】2015年持久层用户开发手册模板(提交版)

ID:45751170

大小:47.38 KB

页数:37页

时间:2019-11-17

【优秀资料】2015年持久层用户开发手册模板(提交版)_第1页
【优秀资料】2015年持久层用户开发手册模板(提交版)_第2页
【优秀资料】2015年持久层用户开发手册模板(提交版)_第3页
【优秀资料】2015年持久层用户开发手册模板(提交版)_第4页
【优秀资料】2015年持久层用户开发手册模板(提交版)_第5页
资源描述:

《【优秀资料】2015年持久层用户开发手册模板(提交版)》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库

1、持久层用户开发手册中国软件与技术服务股份有限公司应用产品研发中心1•持久层概述11.1.持久层功能概述112设计目标11.3.使用持久层开发基本过程12.持久层环境12.1.概述122编写persistence.xml13.实现0・R映射23」.仓II建bo(BussinessObject)232设置标注43.3.在关系数据库中创確表54.使用持久层操作数据库54丄获得IPersistenceDAO对象642新增操作6421.publicvoidsaveBO(IDaoBusinessObjectbo)64.2.2.publicvoidsaveBO(Listbos)643删除操作7

2、4.3.1.publicvoiddeleteBO(IDaoBusinessObjectbo)74.3.2.publicvoiddeleteBO(Listbos)84.4.更新操作94.4・1.publicintupdateBO(IDaoBusinessObjectbo)94.4.2.publicintupdateBO(Listbos)945查询操作104.5.1.Listquery(ClassboClass,StringsqlStr,ListsqIParams)104.5.2.CachedRowSetquery(StringsqlSgListsqIParams)114.5.3.L

3、istqueryByKey(ClassboClass,StringsqlKey,ListsqIParams)124.5.4.CachedRowSetqueryByKey(StringsqlKey,ListsqIParams)134.5.5.CachedRowSetqueryPageBySQL(StringsqlStr,ListsqIParams,inttotalNum,intpageNum)144.5.6.ListpageQuery(ClassboClass,StringwidgetName,StringsqlStr)164.5.7.CachedRowSetpageQuery(S

4、tringwidgetName,StringsqlStr)174.5.8.ListpageQuery(ClassboClass,StringwidgetName,StringsqlStr,ListsqIParams,inttotalNum,intpageNum,StringsortName,PaginationManager.SonFlagsf)184.5.9.CachedRowSetpageQueiy(StringwidgetName,StringsqlStr,ListsqIParams,inttotalNum,intpageNum,StringsortName,Paginat

5、ionManage匚SorlFlagsf)204.5.1().ListpageQuery(ClassboClass,StringwidgetName,StringsqlStr,ListsqIParams,StringsortName,PaginationManage匚SortFIagsf)214.5.11.CachedRowSetpageQuery(StringwidgetName,StringsqlStr,ListsqIParams,StringsortName,PaginationManager.SoitFlagsf)234.5.12.ListpageQuery(Classb

6、oClass,StringwidgetName,StringsqlStr,ListsqlParams)244513.CachedRowSetpageQuery(StringwidgetName,StringsqlStr,ListsqlParams)264.5.14.ListpageQuery(ClassboClass,StringwidgetName,StringsqlStr,ListsqlParams,inttotalNum,intpageNum)274.5.14.CachedRowSetpageQuery(StringwidgetName,StringsqlStr,Lists

7、qlParams,inttotalNum,intpageNum)294.6.增删改304.6・1.intexecute(StringsqlStr、ListsqlParams)304.7.blob和clob操作314.7.1.含有blob和clob属性bo的创建314.72对clob的操作334.7.3.byte[]fetchBlob(Objectbolnstance,StringblobFieldName)334.7.4.voidfetchBlob(Objectbolnstanc

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。