org.hibernate.cfg
Class JDBCMetaDataConfiguration

java.lang.Object
  extended by org.hibernate.cfg.Configuration
      extended by org.hibernate.cfg.JDBCMetaDataConfiguration
All Implemented Interfaces:
Serializable

public class JDBCMetaDataConfiguration
extends org.hibernate.cfg.Configuration

Author:
max
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.hibernate.cfg.Configuration
auxiliaryDatabaseObjects, classes, collections, columnNameBindingPerTable, extendsQueue, filterDefinitions, imports, namedQueries, namedSqlQueries, namingStrategy, propertyReferences, secondPasses, settingsFactory, sqlFunctions, sqlResultSetMappings, tableNameBinding, tables, typeDefs, xmlHelper
 
Constructor Summary
JDBCMetaDataConfiguration()
           
 
Method Summary
 ReverseEngineeringStrategy getReverseEngineeringStrategy()
           
protected  void parseMappingElement(org.dom4j.Element subelement, String name)
           
 boolean preferBasicCompositeIds()
          If true, compositeid's will not create key-many-to-one and non-updatable/non-insertable many-to-one will be created instead.
 void readFromJDBC()
           
protected  void secondPassCompileForeignKeys(org.hibernate.mapping.Table table, Set done)
           
 void setPreferBasicCompositeIds(boolean flag)
           
 void setReverseEngineeringStrategy(ReverseEngineeringStrategy reverseEngineeringStrategy)
           
 
Methods inherited from class org.hibernate.cfg.Configuration
add, addAuxiliaryDatabaseObject, addCacheableFile, addCacheableFile, addClass, addDirectory, addDocument, addFile, addFile, addFilterDefinition, addInputStream, addJar, addProperties, addResource, addResource, addSqlFunction, addURL, addXML, buildMapping, buildMappings, buildSessionFactory, buildSettings, buildSettings, configure, configure, configure, configure, configure, createMappings, doConfigure, doConfigure, findPossibleExtends, generateDropSchemaScript, generateSchemaCreationScript, generateSchemaUpdateScript, getClassMapping, getClassMappings, getCollectionMapping, getCollectionMappings, getConfigurationInputStream, getEntityNotFoundDelegate, getEntityResolver, getEntityTuplizerFactory, getEventListeners, getFilterDefinitions, getImports, getInterceptor, getNamedQueries, getNamedSQLQueries, getNamingStrategy, getProperties, getProperty, getSessionFactoryObserver, getSqlFunctions, getSqlResultSetMappings, getTableMappings, mergeProperties, reset, secondPassCompile, setCacheConcurrencyStrategy, setCacheConcurrencyStrategy, setCollectionCacheConcurrencyStrategy, setCollectionCacheConcurrencyStrategy, setEntityNotFoundDelegate, setEntityResolver, setInterceptor, setListener, setListener, setListeners, setListeners, setNamingStrategy, setProperties, setProperty, setSessionFactoryObserver, validateSchema
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCMetaDataConfiguration

public JDBCMetaDataConfiguration()
Method Detail

secondPassCompileForeignKeys

protected void secondPassCompileForeignKeys(org.hibernate.mapping.Table table,
                                            Set done)
                                     throws org.hibernate.MappingException
Overrides:
secondPassCompileForeignKeys in class org.hibernate.cfg.Configuration
Throws:
org.hibernate.MappingException

readFromJDBC

public void readFromJDBC()

preferBasicCompositeIds

public boolean preferBasicCompositeIds()
If true, compositeid's will not create key-many-to-one and non-updatable/non-insertable many-to-one will be created instead.

Returns:

setPreferBasicCompositeIds

public void setPreferBasicCompositeIds(boolean flag)

parseMappingElement

protected void parseMappingElement(org.dom4j.Element subelement,
                                   String name)
Overrides:
parseMappingElement in class org.hibernate.cfg.Configuration

setReverseEngineeringStrategy

public void setReverseEngineeringStrategy(ReverseEngineeringStrategy reverseEngineeringStrategy)

getReverseEngineeringStrategy

public ReverseEngineeringStrategy getReverseEngineeringStrategy()