org.hibernate.tool.hbm2ddl
Class TableMetadata
java.lang.Object
org.hibernate.tool.hbm2ddl.TableMetadata
public class TableMetadata
- extends Object
JDBC table metadata
- Author:
- Christoph Sturm, Max Rydahl Andersen
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)
getForeignKeyMetadata
public ForeignKeyMetadata getForeignKeyMetadata(ForeignKey fk)
getIndexMetadata
public IndexMetadata getIndexMetadata(String indexName)
addColumn
public void addColumn(ResultSet rs)
throws SQLException
- Throws:
SQLException
Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.