kr.co.hit.live.dao.supporter
Class DbmsMetaSupporter

java.lang.Object
  extended by kr.co.hit.live.dao.supporter.DbmsMetaSupporter

public class DbmsMetaSupporter
extends Object

DBMS MetaData 관련 정보를 조회하는 기능을 제공한다.

Author:
김형도

Constructor Summary
DbmsMetaSupporter()
           
 
Method Summary
 ResultSet getColumns(Connection con, String tableName)
           
 ResultSet getSchemas(Connection con)
          DB에 연결된 connection을 사용하여 스키마 목록을 조회한다.
 ResultSet getTables(Connection con, String schema)
           
 ResultSet getViews(Connection con, String schema)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbmsMetaSupporter

public DbmsMetaSupporter()
Method Detail

getSchemas

public ResultSet getSchemas(Connection con)
                     throws SQLException
DB에 연결된 connection을 사용하여 스키마 목록을 조회한다.

Parameters:
con -
Returns:
Throws:
SQLException

getTables

public ResultSet getTables(Connection con,
                           String schema)
                    throws SQLException
Throws:
SQLException

getViews

public ResultSet getViews(Connection con,
                          String schema)
                   throws SQLException
Throws:
SQLException

getColumns

public ResultSet getColumns(Connection con,
                            String tableName)
                     throws SQLException
Throws:
SQLException


Copyright © 2014. All Rights Reserved.