hibernate 映射关系(快速原型).docVIP

  • 2
  • 0
  • 约1.07万字
  • 约 17页
  • 2016-08-01 发布于河南
  • 举报
hibernate 映射关系(快速原型)

?此方法在快速建立项目原型上有很大帮助(这最关键的就是速度,用的好原型很快就能建立起来) 先确定下“快速原型”环境定义: ? 使用:ant+hibernate_xdoclet+hibernate_create_table ? 过程:定义bean(xdoclet) - hbm映射文件 - hibernate.hbm2ddl.auto create - 逻辑 ? 注意:如有使用泛型,请使用 xjavadoc-1.1.jar build.xml ?xml?version=1.0?encoding=UTF-8? project ????property?file=perties?/ ????path?id=class.path ????????fileset?dir=${ant.lib.dir} ????????????include?name=*.jar?/ ????????/fileset ????????fileset?dir=${project.lib.dir} ????????????include?name=*.jar?/ ????????/fileset ????/path ????!--?===================================================================?-- ????!--?Initialis

文档评论(0)

1亿VIP精品文档

相关文档