文件名称:AuxiliaryDBPlugin-master
- 所属分类:
- JSP源码/Java
- 资源属性:
- 上传时间:
- 2013-03-12
- 文件大小:
- 10kb
- 下载次数:
- 0次
- 提 供 者:
- kkpu****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
AuxiliaryDBPlugin 是一个 Play fr a mework 的插件,用于实现通过 JDBC 链接到各个数据源。
配置方法:(application.conf)
module.AuxiliaryDBPlugin=${play.path}/modules/AuxiliaryDBPlugin
连接语法:
auxiliaryDB.url=jdbc:oracle:thin:@db.host.com:1564:SID
auxiliaryDB.driver=oracle.jdbc.driver.OracleDriver
auxiliaryDB.user=P
auxiliaryDB.pass=P
代码示例:
ResultSet res = AuxiliaryDB.executeQuery(sqlStringRequest)
while(res.next()){
//TO-DO handle results
}
-AuxiliaryDBPlugin a Play fr a mework plug-in for links to various data sources through JDBC. Configuration methods: (application.conf) module.AuxiliaryDBPlugin = $ {play.path}/modules/AuxiliaryDBPlugin is connected syntax: auxiliaryDB.url = jdbc: oracle: thin: @ db.host.com: 1564: SID auxiliaryDB.driver = oracle . jdbc.driver.OracleDriver auxiliaryDB.user = P auxiliaryDB.pass = P code example: the ResultSet res = AuxiliaryDB.executeQuery (sqlStringRequest) while (res.next ()) {//TO-DO handle results}
配置方法:(application.conf)
module.AuxiliaryDBPlugin=${play.path}/modules/AuxiliaryDBPlugin
连接语法:
auxiliaryDB.url=jdbc:oracle:thin:@db.host.com:1564:SID
auxiliaryDB.driver=oracle.jdbc.driver.OracleDriver
auxiliaryDB.user=P
auxiliaryDB.pass=P
代码示例:
ResultSet res = AuxiliaryDB.executeQuery(sqlStringRequest)
while(res.next()){
//TO-DO handle results
}
-AuxiliaryDBPlugin a Play fr a mework plug-in for links to various data sources through JDBC. Configuration methods: (application.conf) module.AuxiliaryDBPlugin = $ {play.path}/modules/AuxiliaryDBPlugin is connected syntax: auxiliaryDB.url = jdbc: oracle: thin: @ db.host.com: 1564: SID auxiliaryDB.driver = oracle . jdbc.driver.OracleDriver auxiliaryDB.user = P auxiliaryDB.pass = P code example: the ResultSet res = AuxiliaryDB.executeQuery (sqlStringRequest) while (res.next ()) {//TO-DO handle results}
(系统自动生成,下载前可以参看下载内容)
下载文件列表
AuxiliaryDBPlugin-master
........................\README
........................\conf
........................\....\application.conf
........................\lib
........................\...\AuxiliaryDBPlugin.jar