org.hibernate.boot.jaxb.hbm.spi.Adapter9 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-core Show documentation
Show all versions of hibernate-core Show documentation
Hibernate's core ORM functionality
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.02.25 at 10:44:24 PM CET
//
package org.hibernate.boot.jaxb.hbm.spi;
import javax.xml.bind.annotation.adapters.XmlAdapter;
import org.hibernate.engine.OptimisticLockStyle;
public class Adapter9
extends XmlAdapter
{
public OptimisticLockStyle unmarshal(String value) {
return (org.hibernate.boot.jaxb.hbm.internal.OptimisticLockStyleConverter.fromXml(value));
}
public String marshal(OptimisticLockStyle value) {
return (org.hibernate.boot.jaxb.hbm.internal.OptimisticLockStyleConverter.toXml(value));
}
}