我需要在创建下表时设置utf-8。我怎么能这样呢?
@Entity
@Data
public class UserGroup implements Serializable
{
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private int id;
@NonNull
private String name;
@NonNull
@Column(columnDefinition="TEXT")
private String description;
private String groupType;
}