You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/test/testData/src/main/resources/META-INF/doma/example/dao/EmployeeSummaryDao/accessStaticProperty.sql
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ where
26
26
AND (
27
27
-- static method call
28
28
/*%for member : @doma.example.entity.ProjectDetail@members*/
Copy file name to clipboardExpand all lines: src/test/testData/src/main/resources/META-INF/doma/example/dao/EmployeeSummaryDao/bindVariableForNonEntityClass.sql
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,8 @@
26
26
/*%end*/
27
27
-- Reference error for a non-existent field
28
28
/*%for child : employee.<error descr="The field or method [projectIds] does not exist in the class [EmployeeSummary]">projectIds</error> */
29
-
ANDpe.parent_project=/* child.projectId */0
29
+
-- An error occurred because the referenced element was not correctly defined.
30
+
ANDpe.parent_project=/* <error descr="The bind variable [child] does not exist in the Dao method [bindVariableForNonEntityClass]">child</error>.projectId */0
30
31
-- Reference error for a non-existent method
31
32
ANDpe.member_idIN/* employee.<error descr="The field or method [getTopProject] does not exist in the class [EmployeeSummary]">getTopProject</error>() */(0,1,2)
Copy file name to clipboardExpand all lines: src/test/testData/src/main/resources/META-INF/doma/example/dao/EmployeeSummaryDao/resolveDaoArgumentOfListType.sql
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@
14
14
/*%if employees.size() > 0 */
15
15
where
16
16
/*%for member : employees */
17
-
p.employee_id=/* member.employee_id */0
17
+
p.employee_id=/* member.<error descr="The field or method [employee_id] does not exist in the class [Employee]">employee_id</error>*/0
18
18
/*%end */
19
19
-- Cannot be used as a class inside List-type
20
20
/*%elseif employees.<error descr="The field or method [rank] does not exist in the class [List]">rank</error> > 3*/
Copy file name to clipboardExpand all lines: src/test/testData/src/main/resources/META-INF/doma/example/dao/SqlCompleteTestDao/completeComparisonOperator.sql
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,6 @@ select
5
5
from employee e
6
6
inner join project p one.employee_id=p.employee_id
0 commit comments