jpa default value enum

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

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
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