Closed Prachi481992 closed 6 years ago
You're right. When I wrote that part, I didn't realize that it was possible to specify the same namespace in multiple XML mappers. It may take some time for me to fix it as it will require a major rewrite.
@Prachi481992 This should be fixed in 1.1.2 (let me know if it's not). Thank you for taking the time to report this!
@harawata The issue is resolved now. Thanks for the quick resolution!
Great. Thank you for your help, @Prachi481992 ! :)
I'm trying to use a select statement defined in one mapper file in the association in the resultmap of another mapper xml. Both the mapper xmls have the same namespace. I'm using the fully qualified name to refer the select. But the same select is accessible by hyperlink. The code works fine at runtime. Below is the mapper file which needs to be imported:
Below is the mapper file which uses the select in first mapper file:
The line in second file which declares the association gives the compilation error.