-
Notifications
You must be signed in to change notification settings - Fork 0
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Description
Implement an action to generate SQL files from @Sql annotations on DAO methods, and conversely, to add @Sql annotations to DAO methods from SQL file contents.
Implementation Details
When converting from @SQL to SQL file:
- Change the
sqlFileoption totruefor@Insert,@Update,@Deleteannotations (and their Batch variants)
When converting from SQL file to @SQL annotation:
- Change the
sqlFileoption tofalsefor@Insert,@Update,@Deleteannotations (and their Batch variants) - Delete the SQL file that is no longer needed
Use Cases
This feature would enable developers to easily switch between inline SQL (using @Sql annotation) and external SQL files based on their preferences or project requirements.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request