Class CurrencyUnitType

java.lang.Object
io.hypersistence.utils.hibernate.type.ImmutableType<T>
io.hypersistence.utils.hibernate.type.DescriptorImmutableType<javax.money.CurrencyUnit,org.hibernate.type.descriptor.jdbc.VarcharJdbcType,CurrencyUnitTypeDescriptor>
io.hypersistence.utils.hibernate.type.money.CurrencyUnitType
All Implemented Interfaces:
Serializable, org.hibernate.query.BindableType<javax.money.CurrencyUnit>, org.hibernate.query.sqm.SqmExpressible<javax.money.CurrencyUnit>, org.hibernate.type.Type, org.hibernate.usertype.EnhancedUserType<javax.money.CurrencyUnit>, org.hibernate.usertype.UserType<javax.money.CurrencyUnit>

public class CurrencyUnitType extends DescriptorImmutableType<javax.money.CurrencyUnit,org.hibernate.type.descriptor.jdbc.VarcharJdbcType,CurrencyUnitTypeDescriptor>
Maps a Java CurrencyUnit object to a VARCHAR column type.
Author:
Piotr Olaszewski
See Also:
  • Constructor Details

    • CurrencyUnitType

      public CurrencyUnitType()
  • Method Details

    • fromStringValue

      public javax.money.CurrencyUnit fromStringValue(CharSequence sequence) throws org.hibernate.HibernateException
      Throws:
      org.hibernate.HibernateException