use customized enum type with hibernate beans