谢谢 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. 这一步是干什么用的呢?
http://www.binamics.com/hibernatesynch
我已经看了里面的说明:
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. 这一步是干什么用的呢?