Class MembershipPersistentType

  • All Implemented Interfaces:
    Serializable, org.hibernate.usertype.UserType

    public final class MembershipPersistentType
    extends EnumPersistentType<com.atlassian.crowd.model.membership.MembershipType>
    since 7.17.0, use MembershipPersistentType instead
    Hibernate custom type for MembershipType since Hibernate 2 does not handle Java enumerations transparently (or at least it does, but by trying to persist their binary serialization, which is sort of broken)
    See Also:
    Serialized Form
    • Constructor Detail

      • MembershipPersistentType

        public MembershipPersistentType()
    • Method Detail

      • returnedClass

        public Class<com.atlassian.crowd.model.membership.MembershipType> returnedClass()
        Specified by:
        returnedClass in interface org.hibernate.usertype.UserType
        Specified by:
        returnedClass in class EnumPersistentType<com.atlassian.crowd.model.membership.MembershipType>