org.hibernate.cfg.reveng
Class ReverseEngineeringRuntimeInfo

java.lang.Object
  extended by org.hibernate.cfg.reveng.ReverseEngineeringRuntimeInfo

public class ReverseEngineeringRuntimeInfo
extends Object

Provides runtime-only information for reverse engineering process. e.g. current connection provider, exception converter etc.

Author:
max

Constructor Summary
protected ReverseEngineeringRuntimeInfo(org.hibernate.connection.ConnectionProvider provider, org.hibernate.exception.SQLExceptionConverter sec, DatabaseCollector dbs)
           
 
Method Summary
static ReverseEngineeringRuntimeInfo createInstance(org.hibernate.connection.ConnectionProvider provider, org.hibernate.exception.SQLExceptionConverter sec, DatabaseCollector dbs)
           
 org.hibernate.connection.ConnectionProvider getConnectionProvider()
           
 org.hibernate.exception.SQLExceptionConverter getSQLExceptionConverter()
           
 org.hibernate.mapping.Table getTable(String catalog, String schema, String name)
          Look up the table identified by the parameters in the currently found tables.
 org.hibernate.mapping.Table getTable(TableIdentifier ti)
          Shorthand for getTable(String,String,String)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReverseEngineeringRuntimeInfo

protected ReverseEngineeringRuntimeInfo(org.hibernate.connection.ConnectionProvider provider,
                                        org.hibernate.exception.SQLExceptionConverter sec,
                                        DatabaseCollector dbs)
Method Detail

createInstance

public static ReverseEngineeringRuntimeInfo createInstance(org.hibernate.connection.ConnectionProvider provider,
                                                           org.hibernate.exception.SQLExceptionConverter sec,
                                                           DatabaseCollector dbs)

getConnectionProvider

public org.hibernate.connection.ConnectionProvider getConnectionProvider()

getSQLExceptionConverter

public org.hibernate.exception.SQLExceptionConverter getSQLExceptionConverter()

getTable

public org.hibernate.mapping.Table getTable(TableIdentifier ti)
Shorthand for getTable(String,String,String)


getTable

public org.hibernate.mapping.Table getTable(String catalog,
                                            String schema,
                                            String name)
Look up the table identified by the parameters in the currently found tables. Warning: The table might not be fully initialized yet.

Parameters:
catalog -
schema -
name -
Returns:
Table if found in processd tables, null if not