简体   繁体   中英

Unable to import hibernate configuration file in eclipse

I've used Eclipse Helios with Hibernate Tools installed. Everything worked fine. Now I've changed to Eclipse Kepler. Looks like it has the Hibernate Tools also installed as I'm able to change to Hibernate perspective. When I'm trying to import my old project Hibernate Configurations( as shown here ). The option to import Hibernate Configuration file does not appear. Here is the image of how my import dialog looks like:

在此输入图像描述

I think you can achieve what you need in this way too:

  1. Click on the + icon you see highlighted in the top-left corner in the pic
  2. Setup all the information for your specific case
  3. Click on Setup ...
  4. Click on Use existing ...

导入现有的Hibernate配置文件

Hope this will be useful!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM