你是不是指的eclipse的pulgIN插件,那个东东是不错,但是我现在发现使用中插入数据是会有问题,正在研究中,如果OK的话,给你一份文档!

解决方案 »

  1.   

    请查阅他的官方网站
    http://www.binamics.com/hibernatesynch
      

  2.   

    谢谢 workfish()谢谢 dengyin2000,我怎么就没有发现呢,嘿嘿
    我已经看了里面的说明:
    Start the wizard by clicking File >> New >> Other >> Hibernate >> Mapping File. 
    Set the database information and click Refresh. 
    Select any tables you would like to create mapping files for. 
    Set the package you would like the business objects to reside in. 
    Select the mapping files in the navigator, right click and select Hibernate >> Add Mapping Reference. 点refresh 可以看见库里面包含的表了,也选择了package了,可是点击“完成”后并没有生成任何hbm文件啊??Select the mapping files in the navigator, right click and select Hibernate >> Add Mapping Reference. 这一步是干什么用的呢?
      

  3.   

    workfish, 你是说用hibernate插入数据有问题?是什么问题啊?可以说出来大家研究一下吗?我这边使用hibernate进行数据操作,目前还没有发现什么大问题,也有可能是我忽略。我现在是觉得没有一个方便的工具去管理hbm文件和pojo文件
      

  4.   

    如果配置JDBC呢,JDBC驱动放哪里呢?