File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Application Frameworks and the fly likes Adding Hibernate Capabilties. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Adding Hibernate Capabilties." Watch "Adding Hibernate Capabilties." New topic

Adding Hibernate Capabilties.

Himanshu Rawat
Ranch Hand

Joined: Nov 27, 2005
Posts: 141
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...


SCJP 1.4
Roger Yates
Ranch Hand

Joined: Aug 31, 2004
Posts: 118
Can't help about the re-adding it, but if you are running on Windows, did you try restoring them from the Recycle bin?!

Cheers,<br />Roger<br />SCJP 1.2, 1.4, SCBCD 1.3, SCWCD 1.4
Gerardo Tasistro
Ranch Hand

Joined: Feb 08, 2005
Posts: 362
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.
I agree. Here's the link:
subject: Adding Hibernate Capabilties.
It's not a secret anymore!