1.Unzip the Hibernator plug-in into the base Eclipse installation directory and restart Eclipse, if necessary.
根据需要,解压Hibernator插件到Eclipse主安装目录,并重新启动Eclipse。
2.In the Results View pane, inspect the Hibernator Log and verify that no connection errors occurred.
在ResultsView窗格中,查看HibernatorLog,检查是否出现连接错误。
3.Right click in the Hibernator view and elect to Save the initial mapping. You should see a . hbm. xml file in your workspace.
右击Hibernator视图选择Save初始映射,可以在工作区中看到.hbm.xml。
4.All Hibernator objects require a primary key. This is specified through the "id" attribute.
所有Hibernator对象都需要主键,通过“id”属性指定。
5.Note that the Hibernator plug-in also works with Eclipse 2. 0-based platforms.
注意,Hibernator插件也可在基于Eclipse2.0的平台上使用。