Skip to main content

DDL文件解析程序

Project description

代码生成工具

ddl2Pojo

  • 不支持有索引内容
  • 将ddl数据拷贝到sql文件
  • 编辑ddl2JavaPojo.py文件,主要是定义生成类的名字

es2Pojo

更多

仿照ddl2JavaPojo.py + 自定义模板文件可以生成任意代码

pojo generated

  1. 安装依赖 pip install -r requirements.txt
  2. 编写你要的模板 pojo.tpl
  3. 用python定义从数据来源定义字段
  4. 运行脚本生成代码文件

模板语法 https://jinja.palletsprojects.com/en/2.10.x/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

DdlGeneric-1.0.2.tar.gz (7.3 kB view hashes)

Uploaded Source

Built Distribution

DdlGeneric-1.0.2-py3-none-any.whl (7.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page