日期:2014-05-16  浏览次数:20858 次

,转--.xdoclet生成hibernate映射文件,property标签里多了access="field"问题?
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