ITeye博客

,转--.xdoclet生成hibernate映射文件,property标签里多了access="field"问题?

afeifqh · 2012-03-01 16:23 · javaEE · struts2 · eclipse · 企业架构 · Markdown

  1. 打开xdoclet-plugins-1.0.3/plugins/xdoclet-plugin-hibernate-1.0.3.jar

  2. winrar打开并找到 org/xdoclet/plugin/hibernate/property.jelly文件

  3. 将其解压后将property标签中的access="${property.access}"去掉

  4. 将修改好的property.jelly 覆盖掉原来位置上的property.jelly

  5. 生成hibernate映射文件,property标签里就没有access="field"了

转自 http://blog.csdn.net/wangjun_pfc/article/details/3446995

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。