Class SqlTableMetadata

java.lang.Object
com.evolveum.midpoint.repo.sqlbase.SqlTableMetadata

public class SqlTableMetadata extends Object
  • Constructor Details

    • SqlTableMetadata

      public SqlTableMetadata()
  • Method Details

    • create

      public static SqlTableMetadata create(Connection conn, String tableName)
      Creates metadata for a table. Implementation detail: It is possible to use Connection.getMetaData() but this iterates over too many items for all visible tables and is very slow on Oracle. Using ResultSet.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)