org.hibernate.cfg
Class JDBCBinder
java.lang.Object
org.hibernate.cfg.JDBCBinder
public class JDBCBinder
- extends Object
- Author:
- max
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDBCBinder
public JDBCBinder(JDBCMetaDataConfiguration cfg,
org.hibernate.cfg.Settings settings,
org.hibernate.cfg.Mappings mappings,
ReverseEngineeringStrategy revengStrategy)
- Parameters:
mappings
- configuration
-
readFromDatabase
public void readFromDatabase(String catalog,
String schema,
org.hibernate.engine.Mapping mapping)
readDatabaseSchema
public DatabaseCollector readDatabaseSchema(String catalog,
String schema)
throws SQLException
- Read JDBC Metadata from the database. Does not create any classes or other ORM releated structures.
- Parameters:
catalog
- schema
-
- Returns:
-
- Throws:
SQLException
bindCollectionSecondPass
public static void bindCollectionSecondPass(org.hibernate.mapping.Collection collection,
Map persistentClasses,
org.hibernate.cfg.Mappings mappings,
Map inheritedMetas)
throws org.hibernate.MappingException
- Throws:
org.hibernate.MappingException