Class Converters


  • public class Converters
    extends Object
    Factory for converter instances
    • Method Detail

      • jpaAttributeConverter

        public static <O,​R> BasicValueConverter<O,​R> jpaAttributeConverter​(JavaType<R> relationalJtd,
                                                                                       JavaType<O> domainJtd,
                                                                                       Class<? extends jakarta.persistence.AttributeConverter<O,​R>> converterClass,
                                                                                       SessionFactory factory)
        Generates a BasicValueConverter based on an AttributeConverter