文件名称:CommonDatabaseLink
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:3.18kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
在项目中的数据库层中的数据库访问类都从DatabaseObject类派生,这样只需要在一个地方设置数据连接,其他地方都不需要涉及数据库访问的具体连接代码。
如:User类专门负责Users组的权限控制等,只需要简单的代码就可以连接并访问数据库了。这里具体实 现与此文章无关,只举一两个模块做例子。-In the project database layer of database access categories derived from DatabaseObject category, so only need to set up a local data connection, other places do not need to address the specific connectivity database access code. Such as: User categories Users Group responsible for access control, etc., only need a simple code you can connect and access the database of. Concrete realization of this has nothing to do with this article, to cite only one or two modules as an example.
如:User类专门负责Users组的权限控制等,只需要简单的代码就可以连接并访问数据库了。这里具体实 现与此文章无关,只举一两个模块做例子。-In the project database layer of database access categories derived from DatabaseObject category, so only need to set up a local data connection, other places do not need to address the specific connectivity database access code. Such as: User categories Users Group responsible for access control, etc., only need a simple code you can connect and access the database of. Concrete realization of this has nothing to do with this article, to cite only one or two modules as an example.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
CommonDatabaseLink.java
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.