Aug 25, 2018

[HDGEM] Example of fetching string instead of object collection from JPA @ElementCollection

@ElementCollection  @CollectionTable(name="role", joinColumns=@JoinColumn(name="subuserid"))  @Column(name="role")  private List<String> roles;      public List<String> getRoles() {          return roles;  }


--
Posted By Blogger to HDGEM at 11/17/2016 09:10:00 AM