public class DbTableOrView extends Object
| 构造器和说明 |
|---|
DbTableOrView(DbSchema schema,
ResultSet rs) |
| 限定符和类型 | 方法和说明 |
|---|---|
DbColumn[] |
getColumns() |
String |
getName() |
String |
getQuotedName() |
DbSchema |
getSchema() |
boolean |
isView() |
void |
readColumns(DatabaseMetaData meta,
PreparedStatement ps)
Read the column for this table from the database meta data.
|
public DbTableOrView(DbSchema schema, ResultSet rs) throws SQLException
SQLExceptionpublic DbSchema getSchema()
public DbColumn[] getColumns()
public String getName()
public boolean isView()
public String getQuotedName()
public void readColumns(DatabaseMetaData meta, PreparedStatement ps) throws SQLException
meta - the database meta dataps - prepared statement with custom query for H2 database, null for
othersSQLException - on failureCopyright © 2022. All rights reserved.