Maven插件源码:根据库表生成实体类&根据实体类生成库表

上传者: 31142553 | 上传时间: 2022-05-12 22:52:53 | 文件大小: 105KB | 文件类型: RAR
自定义Maven插件:根据配置的数据库信息,生成对应的Java实体类文件,并自动生成备注、长度、是否为空等的doc注释。也可以根据已有的实体类,在数据库生成对应的库表。

文件下载

资源详情

[{"title":"( 60 个子文件 105KB ) Maven插件源码:根据库表生成实体类&根据实体类生成库表","children":[{"title":"generator","children":[{"title":"src","children":[{"title":"main","children":[{"title":"java","children":[{"title":"cn","children":[{"title":"zhh","children":[{"title":"MyMojo.java <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false},{"title":"dogenerate","children":[{"title":"DoGeneratorMojo.java <span style='color:#111;'> 12.65KB </span>","children":null,"spread":false},{"title":"JavaFileInfo.java <span style='color:#111;'> 974B </span>","children":null,"spread":false},{"title":"Table.java <span style='color:#111;'> 2.60KB </span>","children":null,"spread":false},{"title":"template","children":[{"title":"fieldTemplate.txt <span style='color:#111;'> 105B </span>","children":null,"spread":false},{"title":"package-info.java <span style='color:#111;'> 270B </span>","children":null,"spread":false},{"title":"getSetMethodTemplate.txt <span style='color:#111;'> 205B </span>","children":null,"spread":false},{"title":"classTemplate.txt <span style='color:#111;'> 297B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"tbgenerate","children":[{"title":"TbGeneratorMojo.java <span style='color:#111;'> 15.39KB </span>","children":null,"spread":false},{"title":"Do.java <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false}],"spread":true},{"title":"common","children":[{"title":"Utils.java <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false}],"spread":true},{"title":"test","children":[{"title":"TUser.java <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"SysUser.java <span style='color:#111;'> 9.34KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"pom.xml <span style='color:#111;'> 3.43KB </span>","children":null,"spread":false},{"title":"generator.iml <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"target","children":[{"title":"classes","children":[{"title":"META-INF","children":[{"title":"maven","children":[{"title":"cn.zhh","children":[{"title":"generator-maven-plugin","children":[{"title":"plugin-help.xml <span style='color:#111;'> 7.17KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"plugin.xml <span style='color:#111;'> 7.81KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"cn","children":[{"title":"zhh","children":[{"title":"MyMojo.class <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"dogenerate","children":[{"title":"JavaFileInfo.class <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"Table.class <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false},{"title":"Table$Column.class <span style='color:#111;'> 2.31KB </span>","children":null,"spread":false},{"title":"DoGeneratorMojo.class <span style='color:#111;'> 13.67KB </span>","children":null,"spread":false}],"spread":true},{"title":"tbgenerate","children":[{"title":"Do$Param.class <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"Do.class <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false},{"title":"TbGeneratorMojo.class <span style='color:#111;'> 17.72KB </span>","children":null,"spread":false}],"spread":true},{"title":"common","children":[{"title":"Utils.class <span style='color:#111;'> 2.41KB </span>","children":null,"spread":false}],"spread":true},{"title":"test","children":[{"title":"TUser.class <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"SysUser.class <span style='color:#111;'> 6.71KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"generator.jar <span style='color:#111;'> 29.47KB </span>","children":null,"spread":false},{"title":"maven-archiver","children":[{"title":"pom.properties <span style='color:#111;'> 125B </span>","children":null,"spread":false}],"spread":true},{"title":"generated-sources","children":[{"title":"annotations","children":null,"spread":false}],"spread":true},{"title":"maven-status","children":[{"title":"maven-compiler-plugin","children":[{"title":"compile","children":[{"title":"default-compile","children":[{"title":"inputFiles.lst <span style='color:#111;'> 746B </span>","children":null,"spread":false},{"title":"createdFiles.lst <span style='color:#111;'> 340B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".idea","children":[{"title":"misc.xml <span style='color:#111;'> 899B </span>","children":null,"spread":false},{"title":"encodings.xml <span style='color:#111;'> 251B </span>","children":null,"spread":false},{"title":"libraries","children":[{"title":"Maven__com_oracle_ojdbc6_11_2_0_1_0.xml <span style='color:#111;'> 524B </span>","children":null,"spread":false},{"title":"Maven__org_apache_maven_maven_plugin_api_2_0.xml <span style='color:#111;'> 569B </span>","children":null,"spread":false},{"title":"Maven__mysql_mysql_connector_java_5_1_45.xml <span style='color:#111;'> 574B </span>","children":null,"spread":false}],"spread":true},{"title":"workspace.xml <span style='color:#111;'> 47.95KB </span>","children":null,"spread":false},{"title":"vcs.xml <span style='color:#111;'> 167B </span>","children":null,"spread":false},{"title":"inspectionProfiles","children":[{"title":"Project_Default.xml <span style='color:#111;'> 530B </span>","children":null,"spread":false}],"spread":true},{"title":"compiler.xml <span style='color:#111;'> 630B </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 258B </span>","children":null,"spread":false}],"spread":true},{"title":".svn","children":[{"title":"pristine","children":[{"title":"a6","children":[{"title":"a638f91c9311d50eb730f1f813e569689100fd2a.svn-base <span style='color:#111;'> 297B </span>","children":null,"spread":false}],"spread":true},{"title":"42","children":[{"title":"42dcabbdcbd5ed55667997021d076fba9a5abb49.svn-base <span style='color:#111;'> 2.60KB </span>","children":null,"spread":false}],"spread":true},{"title":"aa","children":[{"title":"aad60d6601261f35a98a3e012203ea28d9903516.svn-base <span style='color:#111;'> 3.45KB </span>","children":null,"spread":false}],"spread":true},{"title":"3c","children":[{"title":"3cb55c07d02ee99e825d41fae6fa4f6a956e28e1.svn-base <span style='color:#111;'> 205B </span>","children":null,"spread":false}],"spread":true},{"title":"c3","children":[{"title":"c37757a3fad8f7cf260d9f4809971d0ca3256c26.svn-base <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false}],"spread":true},{"title":"26","children":[{"title":"26db2562069ff0023a6a34a09ae692365d8a41e2.svn-base <span style='color:#111;'> 974B </span>","children":null,"spread":false}],"spread":true},{"title":"4c","children":[{"title":"4cb69b35c327a42983170bf33c711be17036e20c.svn-base <span style='color:#111;'> 270B </span>","children":null,"spread":false}],"spread":false},{"title":"b8","children":[{"title":"b8d778241829efcdc23aa63ad1b6191d96e9b3b5.svn-base <span style='color:#111;'> 12.65KB </span>","children":null,"spread":false}],"spread":false},{"title":"2f","children":[{"title":"2fed297d05d89bbf6ec6b08f2456ed525f974ce1.svn-base <span style='color:#111;'> 105B </span>","children":null,"spread":false}],"spread":false},{"title":"46","children":[{"title":"464cf1fee0de58ab655693a3750ae32cd230875f.svn-base <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false}],"spread":false},{"title":"fd","children":[{"title":"fde72c03da3d46758f90a92fbae3f7ee367ff1c9.svn-base <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false}],"spread":false},{"title":"82","children":[{"title":"82f411a2e4773d2deb202f36cedd414afa53e22d.svn-base <span style='color:#111;'> 9.34KB </span>","children":null,"spread":false}],"spread":false},{"title":"41","children":[{"title":"41fad98cc3ad44fb995ea1d44b72c77cead55958.svn-base <span style='color:#111;'> 15.39KB </span>","children":null,"spread":false}],"spread":false},{"title":"40","children":[{"title":"409ed146bf8506e3472c696e6c8cb0a578810ba9.svn-base <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"wc.db <span style='color:#111;'> 128.00KB </span>","children":null,"spread":false},{"title":"wc.db-journal <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"format <span style='color:#111;'> 3B </span>","children":null,"spread":false},{"title":"tmp","children":null,"spread":false},{"title":"entries <span style='color:#111;'> 3B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • guokai666 :
    好得很了l.
    2019-10-21

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明