På fredag 05. juli 2013 kl. 09:51:03, skrev Tom Dunstan <
pgsql@tomd.cc>:
I've been using Hibernate for years with mapping Enums to varchar-columns which works fine. Remember to map them with
@Column(name = "column_name")
@Enumerated(EnumType.STRING)
private MyEnum enum = <stuff>
--
Andreas Joseph Krogh <andreak@officenet.no> mob: +47 909 56 963
Senior Software Developer / CTO - OfficeNet AS - http://www.officenet.no
Public key: http://home.officenet.no/~andreak/public_key.asc