Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

嵌套映射,当集合属性有重复数据时,只返回了一条 #44

Open
wayshall opened this issue Apr 1, 2022 · 1 comment
Open

Comments

@wayshall
Copy link
Owner

wayshall commented Apr 1, 2022

嵌套映射,当集合属性有重复数据时,只返回了一条。
某些情况,确实需要返回所有数据,即使它们是完全相同的……

@wayshall
Copy link
Owner Author

wayshall commented Apr 1, 2022

增加了filterDuplicate属性控制是否过滤重复

@DbmResultMapping(value={
	@DbmNestedResult(
                property="images", 
                id="value", 
               columnPrefix="res_", 
               nestedType=NestedType.COLLECTION, 
               filterDuplicate = false) 
	})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant