AI Table Structure to Code
AI Table Structure to Code generates code skeletons from database table structures, helping you quickly bootstrap models, entities, or data-access code.
Supported Data Sources
- MySQL-family data sources (PolarDB-X is not supported)
- Oracle
- OceanBase Oracle
- DaMeng
- HANA
- SQL Server
Steps
- Open the SQL Console for the target data source.
- In the object tree on the left, locate the target table.
- Right-click the table, then click Generate Code.
- Choose the target programming language or code template as prompted.
- Review the generated code and refine it to match your project conventions.
Tips
- After generation, you may still need to add naming conventions, annotations, field mappings, and serialization settings.
- If you want to convert stored procedures or functions instead, see AI Routine to Code.