IntelliJ Java IDE
The moose likes Other Application Frameworks and the fly likes Adding Hibernate Capabilties. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Other Application Frameworks
Reply Bookmark "Adding Hibernate Capabilties." Watch "Adding Hibernate Capabilties." New topic
Author

Adding Hibernate Capabilties.

Himanshu Rawat
Ranch Hand

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


rawat
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.
 
 
subject: Adding Hibernate Capabilties.
 
Threads others viewed
hibernate.cfg.xml required in version 2.x?
java.lang.ClassNotFoundException: org.apache.commons.fileupload.FileUploadException
How to add external jars to EJB project
Struts with eclipse
hibernate search - webapp compilation problem
developer file tools