Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding Hibernate Capabilties.

 
Himanshu Rawat
Ranch Hand
Posts: 141
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
The problem is like this.
I am using Eclipse 3.1 and Myeclipse workbench 4.1. I created a web project and added hibernate Capabilties in it. After that some file were generated(xml files). And by mistake i deleted those files.
When i'm again trying to add hibernate capabilties.It's nt showing me the option of adding it. I added this way (Right click -> My eclipse -> Add Hiberbate Capabilties).

Its very urgent if someone know how to do it...plzzz tell ASAP...

thanks
 
Roger Yates
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can't help about the re-adding it, but if you are running on Windows, did you try restoring them from the Recycle bin?!
 
Gerardo Tasistro
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can create a new project add Hibernate to it and then copy the needed files from the new project to the old. Once you've recovered them you can delete the new project. After that you can even try to compare the new files with the history in Eclipse. So if you made some changes yesterday maybe Eclipse kept a copy and you can fall back to it after you set the missing files in you project.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic