org.hibernate.tool.hbm2ddl
Class DatabaseMetadata

java.lang.Object
  extended by org.hibernate.tool.hbm2ddl.DatabaseMetadata

public class DatabaseMetadata
extends Object

JDBC database metadata


Constructor Summary
DatabaseMetadata(Connection connection, Dialect dialect)
          Deprecated. Use DatabaseMetadata(Connection, Dialect, Configuration) instead
DatabaseMetadata(Connection connection, Dialect dialect, boolean extras)
          Deprecated. Use DatabaseMetadata(Connection, Dialect, Configuration, boolean) instead
DatabaseMetadata(Connection connection, Dialect dialect, Configuration config)
           
DatabaseMetadata(Connection connection, Dialect dialect, Configuration config, boolean extras)
           
 
Method Summary
 TableMetadata getTableMetadata(String name, String schema, String catalog, boolean isQuoted)
           
 boolean isSequence(Object key)
           
 boolean isTable(Object key)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DatabaseMetadata

@Deprecated
public DatabaseMetadata(Connection connection,
                                   Dialect dialect)
                 throws SQLException
Deprecated. Use DatabaseMetadata(Connection, Dialect, Configuration) instead

Throws:
SQLException

DatabaseMetadata

@Deprecated
public DatabaseMetadata(Connection connection,
                                   Dialect dialect,
                                   boolean extras)
                 throws SQLException
Deprecated. Use DatabaseMetadata(Connection, Dialect, Configuration, boolean) instead

Throws:
SQLException

DatabaseMetadata

public DatabaseMetadata(Connection connection,
                        Dialect dialect,
                        Configuration config)
                 throws SQLException
Throws:
SQLException

DatabaseMetadata

public DatabaseMetadata(Connection connection,
                        Dialect dialect,
                        Configuration config,
                        boolean extras)
                 throws SQLException
Throws:
SQLException
Method Detail

getTableMetadata

public TableMetadata getTableMetadata(String name,
                                      String schema,
                                      String catalog,
                                      boolean isQuoted)
                               throws HibernateException
Throws:
HibernateException

isSequence

public boolean isSequence(Object key)

isTable

public boolean isTable(Object key)
                throws HibernateException
Throws:
HibernateException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.