public interface DBCreationHook
限定符和类型 | 方法和说明 |
---|---|
void |
onCreateSessionFactory(DBCreationOption creationOption,
com.fr.third.org.hibernate.cfg.Configuration configuration)
创建hibernate的SessionFactory前
|
void onCreateSessionFactory(DBCreationOption creationOption, com.fr.third.org.hibernate.cfg.Configuration configuration)
creationOption
- DBContext内部创建时的配置参数configuration
- hibernate配置