Class BendableLongScoreHibernateType
- java.lang.Object
-
- org.optaplanner.persistence.jpa.impl.score.AbstractScoreHibernateType
-
- org.optaplanner.persistence.jpa.impl.score.buildin.bendablelong.BendableLongScoreHibernateType
-
- All Implemented Interfaces:
org.hibernate.usertype.CompositeUserType
,org.hibernate.usertype.ParameterizedType
public class BendableLongScoreHibernateType 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.
-
-
Field Summary
-
Fields inherited from class org.optaplanner.persistence.jpa.impl.score.AbstractScoreHibernateType
scoreDefinition, type
-
-
Constructor Summary
Constructors Constructor Description BendableLongScoreHibernateType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setParameterValues(Properties parameterMap)
-
Methods inherited from class org.optaplanner.persistence.jpa.impl.score.AbstractScoreHibernateType
assemble, deepCopy, disassemble, equals, extractIntParameter, getPropertyNames, getPropertyTypes, getPropertyValue, hashCode, isMutable, nullSafeGet, nullSafeSet, replace, returnedClass, setPropertyValue
-
-
-
-
Method Detail
-
setParameterValues
public void setParameterValues(Properties parameterMap)
- Specified by:
setParameterValues
in interfaceorg.hibernate.usertype.ParameterizedType
-
-