cn.remex.db.rsql
类 RsqlDao

java.lang.Object
  继承者 cn.remex.db.rsql.RsqlDao

public class RsqlDao
extends Object


构造方法摘要
RsqlDao()
           
 
方法摘要
 RsqlRvo createCall(String sqlString, String poolName)
           
<T extends Modelable>
DbRvo
execute(DbCvo<T> dbCvo)
          公共接口 此接口是为了执行DLL语句设计的。
<T extends Modelable>
RsqlRvo
executeQuery(DbCvo<T> dbCvo)
          公共接口 此接口是为了执行Query语句设计的
<T extends Modelable>
RsqlRvo
executeUpdate(DbCvo<T> dbCvo)
          公共接口 可能存在的问题:preparedstatement 的关闭以前如果报出异常,则无法处理preparedStatment没有关闭而引起的游标溢出问题
static RsqlDao getDefaultRemexDao()
          默认的公共构造器。
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

RsqlDao

public RsqlDao()
方法详细信息

getDefaultRemexDao

public static RsqlDao getDefaultRemexDao()
默认的公共构造器。

返回:
RsqlDao

execute

public <T extends Modelable> DbRvo execute(DbCvo<T> dbCvo)
公共接口 此接口是为了执行DLL语句设计的。

参数:
dbCvo -
返回:
DbRvo

executeQuery

public <T extends Modelable> RsqlRvo executeQuery(DbCvo<T> dbCvo)
公共接口 此接口是为了执行Query语句设计的

参数:
dbCvo -
返回:
RsqlRvo
抛出:
Exception

executeUpdate

public <T extends Modelable> RsqlRvo executeUpdate(DbCvo<T> dbCvo)
公共接口 可能存在的问题:preparedstatement 的关闭以前如果报出异常,则无法处理preparedStatment没有关闭而引起的游标溢出问题

参数:
dbCvo -
返回:
RsqlRvo
抛出:
Exception

createCall

public RsqlRvo createCall(String sqlString,
                          String poolName)
参数:
sqlString -
poolName -
返回:
RsqlRvo


Copyright © 2016. All rights reserved.