com.atlassian.crowd.util.persistence.hibernate
Class TransparentConfiguration

java.lang.Object
  extended by org.hibernate.cfg.Configuration
      extended by com.atlassian.crowd.util.persistence.hibernate.TransparentConfiguration
All Implemented Interfaces:
java.io.Serializable

public class TransparentConfiguration
extends org.hibernate.cfg.Configuration

Helper class to allow visibility of tables in a Hibernate Configuration.

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
TransparentConfiguration()
           
 
Method Summary
 org.hibernate.cfg.Configuration addResource(java.lang.String resourceName)
          Read mappings as a application resourceName (i.e.
 java.util.List getMappingFiles()
           
 java.util.Map getTables()
           
 
Methods inherited from class org.hibernate.cfg.Configuration
add, addAuxiliaryDatabaseObject, addCacheableFile, addCacheableFile, addClass, addDirectory, addDocument, addFile, addFile, addFilterDefinition, addInputStream, addJar, addProperties, 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, getEventListeners, getFilterDefinitions, getImports, getInterceptor, getNamedQueries, getNamedSQLQueries, getNamingStrategy, getProperties, getProperty, getSqlFunctions, getSqlResultSetMappings, getTableMappings, mergeProperties, parseMappingElement, reset, secondPassCompile, secondPassCompileForeignKeys, setCacheConcurrencyStrategy, setCacheConcurrencyStrategy, setCollectionCacheConcurrencyStrategy, setCollectionCacheConcurrencyStrategy, setEntityNotFoundDelegate, setEntityResolver, setInterceptor, setListener, setListeners, setListeners, setNamingStrategy, setProperties, setProperty, validateSchema
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransparentConfiguration

public TransparentConfiguration()
Method Detail

getTables

public java.util.Map getTables()

addResource

public org.hibernate.cfg.Configuration addResource(java.lang.String resourceName)
                                            throws org.hibernate.MappingException
Read mappings as a application resourceName (i.e. classpath lookup) trying different classloaders.

Overrides:
addResource in class org.hibernate.cfg.Configuration
Parameters:
resourceName - The resource name
Returns:
this (for method chaining purposes)
Throws:
org.hibernate.MappingException - Indicates problems locating the resource or processing the contained mapping document.

getMappingFiles

public java.util.List getMappingFiles()


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.