Class AtlassianXMLDatabinder

    • Field Detail

      • NAME_BUCKET_CLOB_STRING_TYPE

        public static final String NAME_BUCKET_CLOB_STRING_TYPE
      • NAME_CUSTOM_CLOB_TYPE

        public static final String NAME_CUSTOM_CLOB_TYPE
      • NAME_NAMESPACE_USER_TYPE

        public static final String NAME_NAMESPACE_USER_TYPE
      • NAME_CRYPTOGRAPHIC_KEY_TYPE

        public static final String NAME_CRYPTOGRAPHIC_KEY_TYPE
      • NAME_SPOOLING_BLOB_INPUT_STREAM_TYPE

        public static final String NAME_SPOOLING_BLOB_INPUT_STREAM_TYPE
      • NAME_USER_KEY_TYPE

        public static final String NAME_USER_KEY_TYPE
      • NAME_INSTANT_TYPE

        public static final String NAME_INSTANT_TYPE
    • Constructor Detail

    • Method Detail

      • parseCustomType

        public boolean parseCustomType​(Writer writer,
                                       org.hibernate.type.Type type,
                                       Object value,
                                       String xmlValue)
                                throws IOException
        You will need to insert code here everytime you add a custom type. See also AbstractObjectPersister#getPrimitivePropertyValue(ClassPersister, PrimitiveProperty).
        Specified by:
        parseCustomType in class XMLDatabinder
        Throws:
        IOException
      • maybeInitializeIfProxy

        protected Object maybeInitializeIfProxy​(Object object)
        If the given object is a Hibernate proxy, then unwrap the proxy and return the underlying initialized entity.

        Note that the superclass implemention of this method looks for and unwraps Hibernate2 proxies, which we no longer use, so delegating to the super impl is unnecessary.

        Overrides:
        maybeInitializeIfProxy in class XMLDatabinder
        Since:
        7.14