在使用 MyBatis 时,出现 "Result Maps collection already contains value for...
在使用 MyBatis 时,出现 "Result Maps collection already contains value for BaseResultMap" 这个错误,通常是因为在 MyBatis 的映射文件中,有多个 Result Map 使用了相同的 id。每个 Result Map 的 id 必须是唯一的,否则会导致冲突。
Showing
Please register or sign in to comment