Mysql中Hibernate的可视化元素集合

Mysql中Hibernate的可视化元素集合,mysql,hibernate,jpa,Mysql,Hibernate,Jpa,我在这段代码下运行,我不明白如何在mysql workbanch的模式中可视化。 以下代码位于用户实体内 @ElementCollection(targetClass = Authority.class, fetch = FetchType.EAGER) @Enumerated(EnumType.STRING) @Column(name = "authority") private Set<Authority> authorities; 我需要一个模式来理解与这

我在这段代码下运行,我不明白如何在mysql workbanch的模式中可视化。 以下代码位于用户实体内

@ElementCollection(targetClass = Authority.class, fetch = FetchType.EAGER)
@Enumerated(EnumType.STRING)
@Column(name = "authority")
private Set<Authority> authorities;
我需要一个模式来理解与这两个对象的关系

public enum Authority {
ADMIN, USER}