Hibernate: Store Enum as String
July 19th, 2009 by jeremychoneJust add the @Enumerated(EnumType.STRING)
@Enumerated(EnumType.STRING)
public Type getType() {
return type;
}
Just add the @Enumerated(EnumType.STRING)
@Enumerated(EnumType.STRING)
public Type getType() {
return type;
}