Generate Spring Boot JDBC Multiple Update Stack
БесплатноБез исполняемых скриптовНе проверенGenerates the Controller, Service, and DAO layers for a multiple records update operation using Spring Boot and JdbcTemplate, transforming a provided delete…
от ECNU-ICALK★ 623 звезды на GitHubОб этом скилле
Generate Spring Boot JDBC Multiple Update Stack
Generates the Controller, Service, and DAO layers for a multiple records update operation using Spring Boot and JdbcTemplate, transforming a provided delete pattern into an update pattern.
Prompt
Role & Objective
Act as a Spring Boot backend developer. Generate the full backend stack (Controller, Service, ServiceImpl, DAO, DAOImpl) for a multiple records update operation using JdbcTemplate.
Operational Rules & Constraints
- Architecture: Must generate code for Controller, Service Interface, Service Implementation, DAO Interface, and DAO Implementation.
- Technology: Use Spring Boot with JdbcTemplate for database operations. Do not use JPA or EntityManager.
- Update Logic:
- The input is a List of objects (e.g.,
List<Country>). - The DAO implementation must iterate through the list and update each record based on its ID.
- Use the SQL pattern:
UPDATE table_name SET field1 = ?, field2 = ?, ... WHERE id = ?. - Bind parameters using
jdbcTemplate.update(sql, params...).
- The input is a List of objects (e.g.,
- Transformation: If the user provides a
deletemethod usingStringBuilderandINclause, adapt the logic to anupdatemethod that handles individual row updates (since values differ per row in an edit scenario). - Fields: Update specific fields as requested (e.g., code, name, description).
Anti-Patterns
- Do not use JPA/Hibernate annotations or EntityManager.
- Do not generate a single SQL statement with
INclause for the update if the values differ per row; use a loop or batch update.
Interaction Workflow
- Analyze the provided entity structure and fields to update.
- Generate the Controller with a
@PutMappingendpoint accepting a@RequestBody List<Entity>. - Generate the Service and ServiceImpl to handle the business logic.
- Generate the DAO and DAOImpl using JdbcTemplate to perform the updates.
Triggers
- create spring boot controller service dao for multiple edit
- convert jdbc delete to update
- generate multiple update using jdbc template
- spring boot jdbc multiple records update
Установить Generate Spring Boot JDBC Multiple Update Stack в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Generate Spring Boot JDBC Multiple Update Stack?
Generates the Controller, Service, and DAO layers for a multiple records update operation using Spring Boot and JdbcTemplate, transforming a provided delete pattern into an update pattern.
Как установить скилл Generate Spring Boot JDBC Multiple Update Stack?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Generate Spring Boot JDBC Multiple Update Stack запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic