1 Star 2 Fork 0

jiyilee/CodeToDbTable

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
jiyilee-jiyilee jiyilee fix afa5e2e 5年前
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

前言-CodeToDbTable

惯例,公开版为基础吧。 增强版链接:https://gitee.com/jiyilee/entity-code-to-db-table.git

公司部门老大(老板认识的人啦---当然也是个职场套路老手)让设计新系统数据库,想拿旧的类似系统参考下(我是想直接修改),可惜~
只给了没有备注的数据库脚本---让参考(个屁啊)又不给pd文件!(说不见了,但是我看了下代码,有备注的哦。。。职场就是这个鸟样了~),只能自己逆向。所以今天吃饱了就网上找了参考后,有了这个
PS,你懂得,很多时候也是有用的,^_^

介绍

软件架构

.
├── com
│   └── jiyilee
│       ├── App.java
│       ├── database
│       │   └── entity
│       ├── schema
│       │   ├── Comment.java
│       │   └── SchemaExportTool.java
│       └── tool
│           └── gentable
│               ├── SqlGeneratorFromJavaEntity.java
│               ├── entity
│               │   └── DeviceUploadRecord.java
│               └── sql
│                   └── create.sql
└── org
    └── hibernate
        ├── cfg
        │   ├── MyAnnotationBinder.java
        │   ├── MyCommentBinder.java
        │   └── MyConfiguration.java
        └── tool
            └── hbm2ddl
                └── MySchemaExport.java

联系

  • 阿泽
  • jiyilee
  • 15818121977
MIT License Copyright (c) 2020 jiyilee Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

CodeToDbTable,参考让Hibernate生成的DDL脚本自动增加注释https://blog.csdn.net/liangyixin19800304/article/details/12426979?utm_source=blogxgwz5 ------废话补多少,要转的hibernate结构实体类(加上Comment特性备注实体&属性)之间放到com.jiyilee.database.entity下面,直接运行App的main即可生成(含备注)sql脚本 展开 收起
Java
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/jiyilee/code-to-db-table.git
git@gitee.com:jiyilee/code-to-db-table.git
jiyilee
code-to-db-table
CodeToDbTable
master

搜索帮助