Commit Graph

12 Commits

Author SHA1 Message Date
402712836f chore: bump version to 2.1.2 and update release notes
- Grouped database actions into a single "Generate Action Models" popup menu.
- Renamed base action to "Generate Action Models V2" for clarity.
- Improved context menu organization in the Database View.
2026-04-03 19:01:08 +07:00
9ada2e4241 chore: bump version to 2.1.1 and update release notes 2026-03-02 13:24:42 +07:00
4cbfaed8c7 feat: improve field type mapping and add sample dataset resource
- Update GUtils.java to handle case-insensitive column type mapping.
- Add "number" type mapping to support more database dialects.
- Add DevResources/Dataset.xml as a sample dataset definition.
2026-03-02 13:23:42 +07:00
d501ecec22 feat: implement Dataset XML generation and Action Models V3
- Added 'Generate Dataset XML' feature to automate table definitions from database schema.
- Implemented intelligent label generation (prioritizing comments) and automatic type mapping for XML.
- Added 'Generate Action Models V3' supporting the new sdk.db package structure.
- Updated release notes and bumped version to 2.1.0.
- Registered new actions with keyboard shortcuts in plugin.xml.
2026-02-27 12:33:58 +07:00
c40ce04f73 fix: Handle databases that do not support user-defined types
Add a null check to prevent NullPointerException when a database does not support user-defined data types.
2025-10-18 16:07:51 +07:00
ed7e7a8856 fix: Correctly generate primary keys
The generator was failing to identify primary key columns, resulting in generated beans without them. This has been fixed by updating the code to use the `getColumnsRef()` method, which correctly retrieves the column names for the primary key.
2025-09-24 11:58:38 +07:00
170e55dd59 docs: Add README.md based on GEMINI.md content 2025-09-23 23:17:06 +07:00
bda8ed8080 fix: Re-commit build.gradle.kts after changeNotes update 2025-09-23 23:12:26 +07:00
be59ed195b docs: Update changeNotes in build.gradle.kts with latest release notes 2025-09-23 23:11:39 +07:00
c9147b069e refactor: Restructure project, enhance ActionField and DTOField generation
This commit refactors the project structure by moving generator-related classes
to a new package (`com.sdk.generators.actionmodels`) and standardizing
template directory names (`src/main/resources/templates`).

It introduces new FreeMarker templates (`actionDTO.ftl`, `actionDTO.extend.ftl`)
and corresponding logic in `GeneratorServices.java` to support the generation
of Data Transfer Object (DTO) classes alongside ActionBeans. The changes
also involve enhancements related to `ActionField` and `DTOField` generation.

Updates to `build.gradle.kts`, `plugin.xml`, and Gradle wrapper files
reflect these structural and functional enhancements.
2025-09-23 23:07:19 +07:00
1ac54a0d5d docs: Add GEMINI.md for project context
Introduces GEMINI.md to provide a comprehensive overview of the ActionModelsGenerator project,
including its purpose, core technologies, build instructions, and development conventions.
This document serves as essential context for future interactions and development.
2025-09-23 23:00:05 +07:00
fb3b704285 feat: Initial commit of the ActionBean generator plugin
This commit includes the basic project structure, the initial implementation of the plugin, and fixes for duplicate API calls and deprecated code.
2025-07-08 19:13:39 +07:00