jpa default value enum

Solutions on MaxInterview for jpa default value enum by the best coders in the world

showing results for - "jpa default value enum"
Aubin
26 Mar 2016
1@Column(length = 32, columnDefinition = "varchar(32) default 'UNKNOWN'")
2@Enumerated(value = EnumType.STRING)
3private CommunicationStatus emailCommunicationStatus = CommunicationStatus.UNKNOWN;
4