摘要: 有外键的一方:@OneToOne(fetch = FetchType.LAZY) @JoinColumn(name = "courseid") public Tcourse getTcourse;另一方:@OneToOne(mappedBy = "tcourse") public TcourseIn... 阅读全文
posted @ 2015-05-08 10:57 start逍遥 阅读(152) 评论(0) 推荐(0) 编辑