org.seasar.tuigwaa.database
クラス DynaConfiguration

java.lang.Object
  拡張org.hibernate.cfg.Configuration
      拡張org.seasar.tuigwaa.database.DynaConfiguration
すべての実装インタフェース:
Serializable

public class DynaConfiguration
extends org.hibernate.cfg.Configuration

作成者:
nishioka
関連項目:
直列化された形式

フィールドの概要
 
クラス org.hibernate.cfg.Configuration から継承したフィールド
classes, collections, extendsQueue, filterDefinitions, imports, namedQueries, namedSqlQueries, namingStrategy, propertyReferences, secondPasses, sqlResultSetMappings, tables, typeDefs
 
コンストラクタの概要
DynaConfiguration(String driver)
           
 
メソッドの概要
 org.hibernate.mapping.Table addTable(String schema, TgwEntity entity)
           
 org.hibernate.mapping.Table addTable(String schema, TgwEntity entity, boolean needRebuild)
           
 org.hibernate.mapping.Table alterTable(String schema, TgwEntity entity)
           
 void build()
           
 void deleteTable(String schema, String name)
           
 void deleteTable(String schema, String[] names)
           
 Iterator getAlterSQLString(org.hibernate.mapping.Table table, org.hibernate.tool.hbm2ddl.DatabaseMetadata dbMetadata, String schema)
           
 String getCreateSchemaSQLString(String schema)
           
 String getCreateSQLString(org.hibernate.mapping.Table table)
           
 String getDropSchemaSQLString(String schema)
           
 String getDropSQLString(org.hibernate.mapping.Table table)
           
 String getForeignKeySQLString(org.hibernate.mapping.ForeignKey fk)
           
 org.hibernate.SessionFactory getSessionFactory()
           
 
クラス org.hibernate.cfg.Configuration から継承したメソッド
add, addCacheableFile, addCacheableFile, addClass, addDirectory, addDocument, addFile, addFile, addFilterDefinition, addInputStream, addJar, addProperties, addResource, addResource, addURL, addXML, buildMappings, buildSessionFactory, buildSettings, configure, configure, configure, configure, configure, createMappings, doConfigure, doConfigure, findPossibleExtends, generateDropSchemaScript, generateSchemaCreationScript, generateSchemaUpdateScript, getClassMapping, getClassMappings, getCollectionMapping, getCollectionMappings, getConfigurationInputStream, getFilterDefinitions, getImports, getInterceptor, getNamedQueries, getNamedSQLQueries, getNamingStrategy, getProperties, getProperty, getSessionEventListenerConfig, getSqlResultSetMappings, getTableMappings, parseMappingElement, reset, secondPassCompile, secondPassCompileForeignKeys, setCacheConcurrencyStrategy, setCollectionCacheConcurrencyStrategy, setEntityResolver, setInterceptor, setListener, setListener, setNamingStrategy, setProperties, setProperty
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

DynaConfiguration

public DynaConfiguration(String driver)
                  throws org.hibernate.HibernateException
メソッドの詳細

getSessionFactory

public org.hibernate.SessionFactory getSessionFactory()
                                               throws org.hibernate.HibernateException
例外:
org.hibernate.HibernateException

getCreateSQLString

public String getCreateSQLString(org.hibernate.mapping.Table table)
                          throws org.hibernate.HibernateException
例外:
org.hibernate.HibernateException

getDropSQLString

public String getDropSQLString(org.hibernate.mapping.Table table)
                        throws org.hibernate.HibernateException
例外:
org.hibernate.HibernateException

getAlterSQLString

public Iterator getAlterSQLString(org.hibernate.mapping.Table table,
                                  org.hibernate.tool.hbm2ddl.DatabaseMetadata dbMetadata,
                                  String schema)
                           throws org.hibernate.HibernateException,
                                  SQLException
例外:
org.hibernate.HibernateException
SQLException

getCreateSchemaSQLString

public String getCreateSchemaSQLString(String schema)

getDropSchemaSQLString

public String getDropSchemaSQLString(String schema)

getForeignKeySQLString

public String getForeignKeySQLString(org.hibernate.mapping.ForeignKey fk)

addTable

public org.hibernate.mapping.Table addTable(String schema,
                                            TgwEntity entity)
                                     throws org.hibernate.HibernateException,
                                            ClassNotFoundException
例外:
org.hibernate.HibernateException
ClassNotFoundException

addTable

public org.hibernate.mapping.Table addTable(String schema,
                                            TgwEntity entity,
                                            boolean needRebuild)
                                     throws org.hibernate.HibernateException,
                                            ClassNotFoundException
例外:
org.hibernate.HibernateException
ClassNotFoundException

alterTable

public org.hibernate.mapping.Table alterTable(String schema,
                                              TgwEntity entity)
                                       throws Exception
例外:
Exception

deleteTable

public void deleteTable(String schema,
                        String name)
                 throws Exception
例外:
Exception

deleteTable

public void deleteTable(String schema,
                        String[] names)
                 throws Exception
例外:
Exception

build

public void build()
           throws org.hibernate.HibernateException
例外:
org.hibernate.HibernateException


Copyright © 2005-2006 The Seasar Foundation and the others.. All Rights Reserved.