Class SqlTableMetadata
java.lang.Object
com.evolveum.midpoint.repo.sqlbase.SqlTableMetadata
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(com.querydsl.sql.ColumnMetadata columnMetadata) static SqlTableMetadata
create
(Connection conn, String tableName) Creates metadata for a table.com.querydsl.sql.ColumnMetadata
-
Constructor Details
-
SqlTableMetadata
public SqlTableMetadata()
-
-
Method Details
-
create
Creates metadata for a table. Implementation detail: It is possible to useConnection.getMetaData()
but this iterates over too many items for all visible tables and is very slow on Oracle. UsingResultSet.getMetaData()
is much more efficient and gives us all we need. -
add
public void add(com.querydsl.sql.ColumnMetadata columnMetadata) -
get
-