Class IntArrayAttributeConverter

  • All Implemented Interfaces:
    javax.persistence.AttributeConverter<int[],​String>

    public class IntArrayAttributeConverter
    extends Object
    implements javax.persistence.AttributeConverter<int[],​String>
    Created by miguel on 12/10/16.
    • Constructor Detail

      • IntArrayAttributeConverter

        public IntArrayAttributeConverter()
    • Method Detail

      • convertToDatabaseColumn

        public String convertToDatabaseColumn​(int[] ints)
        Specified by:
        convertToDatabaseColumn in interface javax.persistence.AttributeConverter<int[],​String>
      • convertToEntityAttribute

        public int[] convertToEntityAttribute​(String s)
        Specified by:
        convertToEntityAttribute in interface javax.persistence.AttributeConverter<int[],​String>