com.jdon.util
类 DbUtil

java.lang.Object
  继承者 com.jdon.util.DbUtil

public class DbUtil
extends Object


字段摘要
static String INTERBASE
           
static String MYSQL
           
static String ORACLE
           
static String POSTGRES
           
static String SQLSERVER
           
static boolean streamLargeText
           
static boolean supportsFetchSize
           
static boolean supportsMaxRows
           
 
构造方法摘要
DbUtil()
           
 
方法摘要
 List getDataList(DataSource ds, String key, String sql, int start, int count)
           
static int getProductAllCount(DataSource ds, String key, String sql_allcount)
           
static void testConnection(Connection con)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

ORACLE

public static final String ORACLE
另请参见:
常量字段值

MYSQL

public static final String MYSQL
另请参见:
常量字段值

SQLSERVER

public static final String SQLSERVER
另请参见:
常量字段值

INTERBASE

public static final String INTERBASE
另请参见:
常量字段值

POSTGRES

public static final String POSTGRES
另请参见:
常量字段值

streamLargeText

public static boolean streamLargeText

supportsMaxRows

public static boolean supportsMaxRows

supportsFetchSize

public static boolean supportsFetchSize
构造方法详细信息

DbUtil

public DbUtil()
方法详细信息

testConnection

public static void testConnection(Connection con)

getProductAllCount

public static int getProductAllCount(DataSource ds,
                                     String key,
                                     String sql_allcount)
                              throws Exception
抛出:
Exception

getDataList

public List getDataList(DataSource ds,
                        String key,
                        String sql,
                        int start,
                        int count)
                 throws Exception
抛出:
Exception


Copyright © 2013. All Rights Reserved.