类 OverrideConfiguration.OverrideMappings

java.lang.Object
org.beangle.orm.hibernate.internal.OverrideConfiguration.OverrideMappings
所有已实现的接口:
Serializable, org.hibernate.cfg.ExtendedMappings, org.hibernate.cfg.Mappings
封闭类:
OverrideConfiguration

protected class OverrideConfiguration.OverrideMappings extends Object
另请参阅:
  • 嵌套类概要

    从接口继承的嵌套类/接口 org.hibernate.cfg.Mappings

    org.hibernate.cfg.Mappings.PropertyReference
  • 构造器概要

    构造器
    构造器
    说明
    注册缺省的sequence生成器
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    addClass(org.hibernate.mapping.PersistentClass pClass)
    First change jpaName to entityName Duplicate register persistent class,hack hibernate(ToOneFkSecondPass.isInPrimaryKey)
    void
    addCollection(org.hibernate.mapping.Collection collection)
    Delay register collection,let class descide which owner will be winner.
    void
    addImport(String entityName, String rename)
    Duplicated entity name in sup/subclass situation will rise a DuplicateMappingException

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • 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 a DuplicateMappingException
      指定者:
      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