Class RecordableXmlMapping
java.lang.Object
io.quarkus.hibernate.orm.runtime.boot.xml.RecordableXmlMapping
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 Summary
ConstructorDescriptionRecordableXmlMapping
(org.hibernate.boot.jaxb.mapping.JaxbEntityMappings ormXmlRoot, org.hibernate.boot.jaxb.hbm.spi.JaxbHbmHibernateMapping hbmXmlRoot, org.hibernate.boot.jaxb.SourceType originType, String originName) -
Method Summary
Modifier and TypeMethodDescriptionstatic RecordableXmlMapping
create
(org.hibernate.boot.jaxb.spi.Binding<?> binding) org.hibernate.boot.jaxb.hbm.spi.JaxbHbmHibernateMapping
org.hibernate.boot.jaxb.SourceType
org.hibernate.boot.jaxb.mapping.JaxbEntityMappings
org.hibernate.boot.jaxb.spi.Binding<?>
toString()
-
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
-
toString
-
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
-
toHibernateOrmBinding
public org.hibernate.boot.jaxb.spi.Binding<?> toHibernateOrmBinding()
-