hibernate one to many 查询返回了重复的数据

很奇怪为什么设计成这样...
https://developer.jboss.org/wiki/HibernateFAQ-AdvancedProblems#jive_content_id_Hibernate_does_not_return_distinct_results_for_a_query_with_outer_join_fetching_enabled_for_a_collection_even_if_I_use_the_distinct_keyword

猜你喜欢

转载自kabike.iteye.com/blog/2169915
今日推荐