摘要:
@ManyToOne(fetch = FetchType.EAGER) @JoinColumn(name = "location_id") private LocationDto location; public class LocationDto { @Id @GeneratedValue(str 阅读全文
posted @ 2018-04-20 21:35
車輪の唄
阅读(15)
评论(0)
推荐(0)
摘要:
UserDao @Repository public class UserDao { @PersistenceContext private EntityManager entityManager; public User get(Long id) { String hql = "select u 阅读全文
posted @ 2018-04-20 09:17
車輪の唄
阅读(28)
评论(0)
推荐(0)

浙公网安备 33010602011771号