Skip to content

Commit 7575214

Browse files
committed
Update README to include bulk conversion feature for DAO classes
1 parent 863c6e5 commit 7575214

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ Provides Intention Action features for automatically generating SQL templates be
2323
- When a DAO method has an `@Sql` annotation but the corresponding SQL template file does not exist, you can automatically generate it from the intention action (Alt+Enter).
2424
- **Generate corresponding SQL annotation from SQL file**
2525
- When a SQL file exists but the corresponding DAO method doesn't have an `@Sql` annotation, you can automatically add the annotation from the intention action (Alt+Enter) on the SQL file.
26+
- **Bulk conversion for DAO class**
27+
- You can execute a bulk conversion action for an entire DAO class, converting between `@Sql` annotations and SQL files for all methods at once.
28+
- Methods that already have an `@Sql` annotation or an existing SQL file are excluded from the bulk action.
2629

2730
![IntentionAction](images/gif/IntentionAction.gif)
2831

@@ -62,7 +65,7 @@ The plugin also provides quick fixes for DAO methods where the required SQL file
6265
![inspectionPackageName.png](images/inspectionPackageName.png)
6366
- Optional types are recognized as their element type (e.g., a parameter of type `Optional<String>` is treated as type `String`).
6467
- For custom functions, checks for methods that are not defined in the configured ExpressionFunctions implementation class.
65-
68+
- In method definition checks, the plugin verifies the appropriate method definition based on the number and types of arguments.
6669

6770
## Completion
6871
Code completion is available to assist you in coding within directives.
@@ -168,6 +171,7 @@ This feature works in source JARs as well, but in binary JARs, if the DAO method
168171
- The class definition referenced by @ClassName@.
169172
- Custom functions in the configured ExpressionFunctions implementation class.
170173
- You can also jump using the **Go To > Declaration Usage** menu.
174+
- For method definition references, the plugin resolves the reference based on the number and types of arguments.
171175

172176
![Reference.gif](images/gif/Reference.gif)
173177

0 commit comments

Comments
 (0)