Class MembershipPersistentType

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

    @Deprecated
    public final class MembershipPersistentType
    extends EnumPersistentType<com.atlassian.crowd.model.membership.MembershipType>
    Deprecated.
    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()
        Deprecated.
    • Method Detail

      • returnedClass

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