Class RecordableXmlMapping


  • public class RecordableXmlMapping
    extends Object
    A substitute to Hibernate ORM's "Binding", which is actually a representation of a parsed XML mapping file (orm.xml or hbm.xml).

    On contrary to Binding, this class can be serialized/deserialized by the BytecodeRecorder.

    • Constructor Detail

      • RecordableXmlMapping

        public RecordableXmlMapping​(org.hibernate.boot.jaxb.mapping.JaxbEntityMappings ormXmlRoot,
                                    org.hibernate.boot.jaxb.hbm.spi.JaxbHbmHibernateMapping hbmXmlRoot,
                                    org.hibernate.boot.jaxb.SourceType originType,
                                    String originName)
    • Method Detail

      • create

        public static RecordableXmlMapping create​(org.hibernate.boot.jaxb.spi.Binding<?> binding)
      • getOrmXmlRoot

        public org.hibernate.boot.jaxb.mapping.JaxbEntityMappings getOrmXmlRoot()
      • getHbmXmlRoot

        public org.hibernate.boot.jaxb.hbm.spi.JaxbHbmHibernateMapping getHbmXmlRoot()
      • getOriginType

        public org.hibernate.boot.jaxb.SourceType getOriginType()
      • getOriginName

        public String getOriginName()
      • toHibernateOrmBinding

        public org.hibernate.boot.jaxb.spi.Binding<?> toHibernateOrmBinding()