org.hibernate.boot.jaxb.mapping.spi.Adapter6 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-core-jakarta Show documentation
Show all versions of hibernate-core-jakarta Show documentation
Hibernate O/RM implementation of the Jakarta Persistence specification
The newest version!
package org.hibernate.boot.jaxb.mapping.spi;
import jakarta.persistence.GenerationType;
import jakarta.xml.bind.annotation.adapters.XmlAdapter;
public class Adapter6
extends XmlAdapter
{
public GenerationType unmarshal(String value) {
return (org.hibernate.boot.jaxb.mapping.internal.GenerationTypeMarshalling.fromXml(value));
}
public String marshal(GenerationType value) {
return (org.hibernate.boot.jaxb.mapping.internal.GenerationTypeMarshalling.toXml(value));
}
}