public class TableMetadataHelper extends Object
| Constructor and Description |
|---|
TableMetadataHelper() |
| Modifier and Type | Method and Description |
|---|---|
static List<TableColumn> |
getColumns(Connection connection,
String name)
Returns the columns result set
|
static ResultSet |
getPrimaryKeys(Connection connection,
String name)
Returns the primary keys result set
|
public static List<TableColumn> getColumns(Connection connection, String name) throws SQLException
connection - the connectionname - the table nameSQLException - in case of an errorpublic static ResultSet getPrimaryKeys(Connection connection, String name) throws SQLException
connection - the connectionname - the table nameSQLException - in case of an errorCopyright © 2010–2018 Eclipse Foundation. All rights reserved.