org.hibernate.tool.hbm2ddl
Class TableMetadata

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

public class TableMetadata
extends Object

JDBC table metadata

Author:
Christoph Sturm, Max Rydahl Andersen

Method Summary
 void addColumn(ResultSet rs)
           
 String getCatalog()
           
 ColumnMetadata getColumnMetadata(String columnName)
           
 ForeignKeyMetadata getForeignKeyMetadata(String keyName)
           
 IndexMetadata getIndexMetadata(String indexName)
           
 String getName()
           
 String getSchema()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getName

public String getName()

getCatalog

public String getCatalog()

getSchema

public String getSchema()

toString

public String toString()
Overrides:
toString in class Object

getColumnMetadata

public ColumnMetadata getColumnMetadata(String columnName)

getForeignKeyMetadata

public ForeignKeyMetadata getForeignKeyMetadata(String keyName)

getIndexMetadata

public IndexMetadata getIndexMetadata(String indexName)

addColumn

public void addColumn(ResultSet rs)
               throws SQLException
Throws:
SQLException


Copyright © 2009 Hibernate.org. All Rights Reserved.