摘要:
hql 多对多查询 elements 可编写如下Hql 语句完成查询: Sql代码 Sql代码 select Blog from Blog, Book where Blog.author in elements(Book.authors) and Book.id=? select Blog ... 阅读全文
posted @ 2009-05-17 22:07 redcoatjk 阅读(168) 评论(0) 推荐(0)
|
摘要:
hql 多对多查询 elements 可编写如下Hql 语句完成查询: Sql代码 Sql代码 select Blog from Blog, Book where Blog.author in elements(Book.authors) and Book.id=? select Blog ... 阅读全文
posted @ 2009-05-17 22:07 redcoatjk 阅读(168) 评论(0) 推荐(0) |
||