Class RecordableXmlMapping

java.lang.Object
io.quarkus.hibernate.orm.runtime.boot.xml.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 Details

    • 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 Details

    • create

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

      public String toString()
      Overrides:
      toString in class Object
    • 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()