首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 地图数据库表到JPA和JAXB对象

地图数据库表到JPA和JAXB对象

  • 资源大小:6.26 MB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: java database hibernate jaxb Grails jpa

资 源 简 介

Point this tool at your database to map from your relations to JPA and JAXB classes. However, it is designed specifically to work well with databases where a certain number of best practices are adhered to: Every table should have a primary key named "id" that auto-increments on insert Foreign key columns must be named tablename_id Many to Many join tables must be named tablename1_tablename2 All foreign keys should be declared in the database If you can live by these rules you will never have to write JPA classes again. Here is the usage message: Usage: com.moonspider.dbmap.GenerateConfig -type (-t) [String] The type to generate, either "jpa" or "gorm" (experimental) (jpa) -destinationDirectory (-d) [String] Destination directory -url [String] The url of the database -pkg (-package) [String] The target package () -user (-u) [String] Database user (sa) -password (-p) [String] Database password () -globalEx

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
  • ZS 3分钟前 成为了本站会员

  • . 1天前 成为了本站会员

  • 奋斗 1天前 成为了本站会员

  • 1天前 成为了本站会员

  • 一天不玩浑身难受 2天前 成为了本站会员

  • Aloha 2天前 成为了本站会员

  • 嘻嘻嘻 2天前 成为了本站会员

  • maihaoweilai 2天前 成为了本站会员

  • 紫麟鹿 2天前 成为了本站会员

  • 天狼 2天前 成为了本站会员