kr.co.hit.live.dao.supporter
Class DbmsMetaSupporter
java.lang.Object
kr.co.hit.live.dao.supporter.DbmsMetaSupporter
public class DbmsMetaSupporter
- extends Object
DBMS MetaData 관련 정보를 조회하는 기능을 제공한다.
- Author:
- 김형도
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DbmsMetaSupporter
public DbmsMetaSupporter()
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.