public abstract class TnBeanMetaDataFactoryImpl extends Object implements TnBeanMetaDataFactory
DBFlute depended on S2Dao before 0.9.0.TnBeanMetaDataFactoryImplis close to S2Dao logicTnBeanMetaDataFactoryExtensionhas DBFlute logic
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected DataSource |
_dataSource |
protected static String |
MODIFIED_PROPERTY_PROPERTY_NAME
The property name of modified property.
|
| コンストラクタと説明 |
|---|
TnBeanMetaDataFactoryImpl() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRelationRowOptionalHandlerprotected static final String MODIFIED_PROPERTY_PROPERTY_NAME
protected DataSource _dataSource
public TnBeanMetaData createBeanMetaData(Class<?> beanClass)
TnBeanMetaDataFactorycreateBeanMetaData インタフェース内 TnBeanMetaDataFactorybeanClass - The type of bean. (NotNull)public TnBeanMetaData createBeanMetaData(Class<?> beanClass, int relationNestLevel)
TnBeanMetaDataFactorycreateBeanMetaData インタフェース内 TnBeanMetaDataFactorybeanClass - The type of bean. (NotNull)relationNestLevel - The nest level of relation. (NotMinus)protected abstract LazyDatabaseMetaDataWrapper createLazyDatabaseMetaDataWrapper(Class<?> beanClass)
protected void handleSQLException(SQLException e, SQLExceptionResource resource)
protected SQLExceptionHandler createSQLExceptionHandler()
protected SQLExceptionResource createSQLExceptionResource()
public TnBeanMetaData createBeanMetaData(DatabaseMetaData dbMetaData, Class<?> beanClass, int relationNestLevel)
TnBeanMetaDataFactorycreateBeanMetaData インタフェース内 TnBeanMetaDataFactorydbMetaData - The meta data of database. (NotNull)beanClass - The type of bean. (NotNull)relationNestLevel - The nest level of relation. (NotMinus)protected abstract TnBeanMetaDataImpl createBeanMetaDataImpl(Class<?> beanClass)
protected abstract TnModifiedPropertySupport createModifiedPropertySupport()
protected abstract TnBeanAnnotationReader createBeanAnnotationReader(Class<?> beanClass)
protected String getVersionNoPropertyName(TnBeanAnnotationReader beanAnnotationReader)
protected String getTimestampPropertyName(TnBeanAnnotationReader beanAnnotationReader)
protected TnPropertyTypeFactory createPropertyTypeFactory(Class<?> beanClass, TnBeanAnnotationReader beanAnnotationReader, DatabaseMetaData dbMetaData)
protected TnPropertyTypeFactoryBuilder createPropertyTypeFactoryBuilder(DatabaseMetaData dbMetaData)
protected abstract TnRelationPropertyTypeFactory createRelationPropertyTypeFactory(Class<?> beanClass, TnBeanMetaDataImpl localBeanMetaData, TnBeanAnnotationReader beanAnnotationReader, DatabaseMetaData dbMetaData, int relationNestLevel, boolean stopRelationCreation)
protected boolean isLimitRelationNestLevel(int relationNestLevel)
protected abstract int getLimitRelationNestLevel()
public void setDataSource(DataSource dataSource)
Copyright © 2014–2015 The DBFlute Project. All rights reserved.