I have int field in my postgresql database which holds some ids. Changing it to separate table wouldn't be a good choice as it would became very big in short time. I need to stay with this solution then. However I cannot read/write this field using entity manager, as there is not proper mapping for this type. Temporary I changed type of this field to varchar, but this of course means performance degradation.
Could anyone guide me how to use integer arrays in hibernate?