摘要: www 阅读全文
posted @ 2017-06-04 19:58 Lost blog 阅读(155) 评论(0) 推荐(0)
摘要: w 阅读全文
posted @ 2017-06-04 19:57 Lost blog 阅读(180) 评论(0) 推荐(0)
摘要: 表结构 Room类 Student类: 测试类: 阅读全文
posted @ 2017-06-04 19:56 Lost blog 阅读(221) 评论(0) 推荐(0)
摘要: 如果在一的@OneToMany有@manyToOne则是双向一对多关联,如果在多的那面没有@manyToOne关联则是单向一对多关联 class和student是一对多的关系 表结构 student class Class Student Dao 测试 过程 第一个查询只能查出Student的数据, 阅读全文
posted @ 2017-06-04 19:55 Lost blog 阅读(272) 评论(0) 推荐(0)