类 OverrideConfiguration.OverrideMappings
java.lang.Object
org.beangle.orm.hibernate.internal.OverrideConfiguration.OverrideMappings
- 所有已实现的接口:
Serializable,org.hibernate.cfg.ExtendedMappings,org.hibernate.cfg.Mappings
- 另请参阅:
-
嵌套类概要
从接口继承的嵌套类/接口 org.hibernate.cfg.Mappings
org.hibernate.cfg.Mappings.PropertyReference -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidaddClass(org.hibernate.mapping.PersistentClass pClass) First change jpaName to entityName Duplicate register persistent class,hack hibernate(ToOneFkSecondPass.isInPrimaryKey)voidaddCollection(org.hibernate.mapping.Collection collection) Delay register collection,let class descide which owner will be winner.voidDuplicated entity name in sup/subclass situation will rise aDuplicateMappingException
-
构造器详细资料
-
OverrideMappings
public OverrideMappings()注册缺省的sequence生成器
-
-
方法详细资料
-
addClass
public void addClass(org.hibernate.mapping.PersistentClass pClass) throws org.hibernate.DuplicateMappingException - First change jpaName to entityName
- Duplicate register persistent class,hack hibernate(ToOneFkSecondPass.isInPrimaryKey)
- 指定者:
addClass在接口中org.hibernate.cfg.Mappings- 抛出:
org.hibernate.DuplicateMappingException
-
addImport
public void addImport(String entityName, String rename) throws org.hibernate.DuplicateMappingException Duplicated entity name in sup/subclass situation will rise aDuplicateMappingException- 指定者:
addImport在接口中org.hibernate.cfg.Mappings- 抛出:
org.hibernate.DuplicateMappingException
-
addCollection
public void addCollection(org.hibernate.mapping.Collection collection) throws org.hibernate.DuplicateMappingException Delay register collection,let class descide which owner will be winner.- Provide override collections with same rolename.
- Delay register collection,register by addClass method
- 指定者:
addCollection在接口中org.hibernate.cfg.Mappings- 抛出:
org.hibernate.DuplicateMappingException
-