Skip to content

Commit 00899bd

Browse files
committed
Update Documents
1 parent 72a911d commit 00899bd

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ The plugin also provides quick fixes for DAO methods where the required SQL file
4242
![returnTypeInspection.png](images/returnTypeInspection.png)
4343
- Checks that parameters of DAO method matches the expected type based on its annotation.
4444
![paramTypeInspection.png](images/paramTypeInspection.png)
45+
- Checks the validity of `include` and `exclude` options in `@Update`, `@BatchUpdate`, `@Insert`, `@BatchInsert`,`@MultiInsert` and `@Returning`annotations:
46+
![inspectionAnnotationOptions.png](images/inspectionAnnotationOptions.png)
4547
- Checks for undefined bind variable names.
4648
- Checks the class name and package name for static property calls.
4749
![inspectionPackageName.png](images/inspectionPackageName.png)
17.8 KB
Loading
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<html lang="en">
2+
<body>
3+
<p>
4+
Reports when a property name specified in the <code>include</code> or <code>exclude</code> option of a Doma annotations(such as <code>@Update</code> or <code>@BatchInsert</code>) on a DAO method does not exist in the corresponding Entity class parameter.
5+
</p>
6+
<p>
7+
If the <code>returning</code> option is specified, the inspection also checks the property names listed in the <code>include</code> and <code>exclude</code> options within the <code>Returning</code> annotation.
8+
</p>
9+
</body>
10+
</html>

0 commit comments

Comments
 (0)