下面的Java实体类的注解是什么意思?
@Column(nullable=false,columnDefinition="TINYINT(1)DEFAULT0")privatebooleanisCommentS...
@Column(nullable = false, columnDefinition = "TINYINT(1) DEFAULT 0")
private boolean isCommentSource = false;
@OneToOne(targetEntity = Configbean.class, fetch = FetchType.EAGER, cascade = CascadeType.ALL)
private Configbean configBean;
@Conceal
@OneToMany(cascade = CascadeType.ALL, mappedBy = "source", fetch = FetchType.LAZY, targetEntity = TotalBoard.class)
private Set<TotalBoard> boards = new HashSet(); 展开
private boolean isCommentSource = false;
@OneToOne(targetEntity = Configbean.class, fetch = FetchType.EAGER, cascade = CascadeType.ALL)
private Configbean configBean;
@Conceal
@OneToMany(cascade = CascadeType.ALL, mappedBy = "source", fetch = FetchType.LAZY, targetEntity = TotalBoard.class)
private Set<TotalBoard> boards = new HashSet(); 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询