Missing Hibernate under "New/Other" [message #514857] |
Tue, 16 February 2010 16:30  |
Eclipse User |
|
|
|
Hi,
I don't know which Forum to ask this question but I really need some help. I tried all that I knew of. Any ideas/hints would help.
I am trying to configure Eclipse, Hibernate, MySQL following the instructions below.
Until the end, I pulled down New/Other to create the Hibernate Configuration File.
ROUTE: File > New > Other > Hibernate > Hibernate Configuration File
There is no Hibernate under New/Other. I checked out that my Hibernate jar files are in the eclipse Plugin folder. What else can I check or how to repair?
Any info will be greatly appreciated.
Many Thanks...Mimi
===============Instructions I followed...
* Eclipse 3.2 + Web Tools Platform
* Hibernate Core 3.2.4 .SP1 + Hibernate Tools-3.2.0.beta9a
* MySQL 4.1 + MySQL Gui Tools 5.0-r12+ MySQL Connector (driver)
* Apache Tomcat 5.5
First of all, you have to create a new project of type Dynamic Web Project with the Eclipse environment; we are going to call it "test". In the field "Target Runtime" we must indicate which server we are gonna use. In our case, we will use the Tomcat Apache 5.5. With the created project and a good database in the MySQL, now, we must import all the Hibernate libs into /WebContent/WEB-INF/lib folder. There is another way: you must put all the Hibernate libs into /tomcat/common/lib folder. This last one it's better if you have to export the project in a "*.war" file.
We are ready to establish connection and mapping between the database and our project.
We are going to create the Hibernate Configuration File. This one, will contain the information to access to the database.
ROUTE: File > New > Other > Hibernate > Hibernate Configuration File
|
|
|
Re: Missing Hibernate under "New/Other" [message #516660 is a reply to message #514857] |
Wed, 24 February 2010 11:59  |
Eclipse User |
|
|
|
"Mimi Tam" <mimi.tam@ieee.org> wrote in message
news:hlf2q3$oh5$1@build.eclipse.org...
> Hi,
>
> I don't know which Forum to ask this question but I really need some help.
> I tried all that I knew of. Any ideas/hints would help.
>
> I am trying to configure Eclipse, Hibernate, MySQL following the
> instructions below.
It sounds like you need to check on the Hibernate forums. I think the
Hibernate tools are produced by Hibernate, not by Eclipse.
> ===============Instructions I followed...
>
> * Eclipse 3.2 + Web Tools Platform
> * Hibernate Core 3.2.4 .SP1 + Hibernate Tools-3.2.0.beta9a
> * MySQL 4.1 + MySQL Gui Tools 5.0-r12+ MySQL Connector (driver)
> * Apache Tomcat 5.5
So, Eclipse 3.2 is a very old version of Eclipse - we're up to 3.5 at this
point and 3.6 is just a few months away. You may want to see if there are
newer versions of all these products; that will increase the odds of getting
helpful support.
What JRE are you running all this against? It's possible that the Hibernate
tooling requires at least Java 5 to run, in which case if you are running on
Java 1.4 you won't see the plugin's features.
Check the Eclipse error log to see if there is any information about why the
Hibernate plugins might be failing to load.
|
|
|
Powered by
FUDForum. Page generated in 0.03102 seconds