类 AttributeConverterDefinition

    • 构造器详细资料

      • AttributeConverterDefinition

        public AttributeConverterDefinition​(javax.persistence.AttributeConverter attributeConverter,
                                            boolean autoApply)
        已过时。
    • 方法详细资料

      • from

        public static AttributeConverterDefinition from​(Class<? extends javax.persistence.AttributeConverter> attributeConverterClass,
                                                        boolean autoApply)
        已过时。
        Build an AttributeConverterDefinition from the AttributeConverter Class reference and whether or not to auto-apply it.
        参数:
        attributeConverterClass - The AttributeConverter Class
        autoApply - Should the AttributeConverter be auto-applied?
        返回:
        The constructed definition
      • from

        public static AttributeConverterDefinition from​(Class<? extends javax.persistence.AttributeConverter> attributeConverterClass)
        已过时。
        Build an AttributeConverterDefinition from the AttributeConverter Class reference. The converter is searched for a Converter annotation to determine whether it should be treated as auto-apply. If the annotation is present, Converter.autoApply() is used to make that determination. If the annotation is not present, false is assumed.
        参数:
        attributeConverterClass - The converter class
        返回:
        The constructed definition
      • from

        public static AttributeConverterDefinition from​(javax.persistence.AttributeConverter attributeConverter)
        已过时。
        Build an AttributeConverterDefinition from an AttributeConverter instance. The converter is searched for a Converter annotation to determine whether it should be treated as auto-apply. If the annotation is present, Converter.autoApply() is used to make that determination. If the annotation is not present, false is assumed.
        参数:
        attributeConverter - The AttributeConverter instance
        返回:
        The constructed definition
      • from

        public static AttributeConverterDefinition from​(javax.persistence.AttributeConverter attributeConverter,
                                                        boolean autoApply)
        已过时。
        Build an AttributeConverterDefinition from the AttributeConverter instance and whether or not to auto-apply it.
        参数:
        attributeConverter - The AttributeConverter instance
        autoApply - Should the AttributeConverter be auto-applied?
        返回:
        The constructed definition
      • getAttributeConverter

        public javax.persistence.AttributeConverter getAttributeConverter()
        已过时。
      • isAutoApply

        public boolean isAutoApply()
        已过时。
      • getEntityAttributeType

        public Class getEntityAttributeType()
        已过时。
      • getDatabaseColumnType

        public Class getDatabaseColumnType()
        已过时。