Top Description Fields Constructors Methods
org.hibernate.tool.hbm2ddl

public Class ForeignKeyMetadata

extends Object
Class Inheritance
Annotations
@Deprecated
Imports
org.hibernate.mapping.Column, .ForeignKey, java.sql.ResultSet, .SQLException, java.util.HashMap, .List, .Locale, .Map

Deprecated

Everything in this package has been replaced with org.hibernate.tool.schema.spi.SchemaManagementTool and friends.

JDBC foreign key metadata
Author
Christoph Sturm

Field Summary

Modifier and TypeField and Description
private final String
private final Map<K, V>
private final String

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv void
public String
public String
private boolean
hasReference(Column column, Column ref)

public boolean
matches(ForeignKey fk)

Deprecated as a consequence of ForeignKey being deprecated.
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

nameback to summary
private final String name
referencesback to summary
private final Map<K, V> references
refTableback to summary
private final String refTable

Constructor Detail

ForeignKeyMetadataback to summary
pack-priv ForeignKeyMetadata(ResultSet rs) throws SQLException

Method Detail

addReferenceback to summary
pack-priv void addReference(ResultSet rs) throws SQLException
getNameback to summary
public String getName()
getReferencedTableNameback to summary
public String getReferencedTableName()
hasReferenceback to summary
private boolean hasReference(Column column, Column ref)
matchesback to summary
public boolean matches(ForeignKey fk)

Deprecated

as a consequence of ForeignKey being deprecated. See corresponding docs for further information.

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.