How do I set a default value in Hibernate field?
Working with Oracle, I was trying to insert a default value for an Enum
I found the following to work the best.
@Column(nullable = false) @Enumerated(EnumType.STRING) private EnumType myProperty = EnumType.DEFAULT_VALUE;