Class SqlTableMetadata
- java.lang.Object
-
- com.evolveum.midpoint.repo.sqlbase.SqlTableMetadata
-
public class SqlTableMetadata extends Object
-
-
Constructor Summary
Constructors Constructor Description SqlTableMetadata()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(com.querydsl.sql.ColumnMetadata columnMetadata)
static SqlTableMetadata
create(Connection conn, String tableName)
Creates metadata for a table.com.querydsl.sql.ColumnMetadata
get(@NotNull String columnName)
-
-
-
Method Detail
-
create
public static SqlTableMetadata create(Connection conn, String tableName)
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
public com.querydsl.sql.ColumnMetadata get(@NotNull @NotNull String columnName)
-
-