Class BendableScoreHibernateType

java.lang.Object
org.optaplanner.persistence.jpa.impl.score.AbstractScoreHibernateType
org.optaplanner.persistence.jpa.impl.score.buildin.bendable.BendableScoreHibernateType
All Implemented Interfaces:
org.hibernate.usertype.CompositeUserType, org.hibernate.usertype.ParameterizedType

public class BendableScoreHibernateType extends AbstractScoreHibernateType implements org.hibernate.usertype.ParameterizedType
This class is Hibernate specific, because JPA 2.1's @Converter currently cannot handle 1 class mapping to multiple SQL columns.
  • Constructor Details

    • BendableScoreHibernateType

      public BendableScoreHibernateType()
  • Method Details

    • setParameterValues

      public void setParameterValues(Properties parameterMap)
      Specified by:
      setParameterValues in interface org.hibernate.usertype.ParameterizedType