java-do
CommunityUnified Java DO type mapping from SQL types.
Authorjie023
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill standardizes the mapping from common SQL data types to Java DO field types, enabling consistent generation of DO classes from database schemas.
Core Features & Use Cases
- Standard type mappings for varchar/char to String, int/tinyint/smallint to Integer, bigint to Long, decimal to BigDecimal, text types to String.
- Special-field handling guidance (ignore auto_increment, create_time/update_time, and logic for composite keys) and annotation hints.
- Use Case: When generating DO files from a SQL table, apply these mappings to ensure correct Java types and nullability.
Quick Start
Use this skill during DO file generation from SQL definitions. For example, mapping a table with columns id int, amount decimal(10,2), name varchar(255) results in fields: id -> Integer, amount -> BigDecimal, name -> String.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: java-do Download link: https://github.com/jie023/trae-setting/archive/main.zip#java-do Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.