开发者

one-to-many problems

开发者 https://www.devze.com 2023-02-15 07:04 出处:网络
hello I execute query by hbm mapping. Query contains one-to-many property .I want save it in the bag. Number of results is 100. But I have 100 times the f开发者_如何学Cirst result.

hello I execute query by hbm mapping. Query contains one-to-many property .I want save it in the bag. Number of results is 100. But I have 100 times the f开发者_如何学Cirst result. Where is my error??


Use distinct when you use the query.

0

精彩评论

暂无评论...
验证码 换一张
取 消