-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 
Author Message
 Post subject: Hibernate Tools Installation on Eclipse 3.4.2
PostPosted: Sun Sep 20, 2009 3:53 pm 
Newbie

Joined: Sun Sep 20, 2009 3:38 pm
Posts: 5
Has anyone ever been able to install Hibernate Tools on eclipse? I have tried to install it by following instructions on the following page without any success.

http://www.jboss.org/tools/download/update

After installation, I am able to create a hibernate connection profile, but when I try to connect to the database, nothing happens. There are no error messages. The plugin seems to have been release with any testing.

I will appreciate it if someone who has success with installation, help me identify what I am missing here. Are there any other tools or plugins I could use beside Hibernate Tools?


Top
 Profile  
 
 Post subject: Re: Hibernate Tools Installation on Eclipse 3.4.2
PostPosted: Sun Sep 20, 2009 7:30 pm 
Senior
Senior

Joined: Mon Jul 07, 2008 4:35 pm
Posts: 141
Location: Berlin
Hi ataraxis6,

Quote:
...I have tried to install it by following instructions on the following page without any success.

http://www.jboss.org/tools/download/update

After installation,...


Looks like you succeeded in the end... ;-)

It would be very helpful if you'd provide some more info
  • on the Hibernate Tools version
  • on the database you use and its version
  • on the connection profile you created
  • on anything else you might think is relevant

I can hardly believe the Hibernate people would release anything without testing. There might be some issue on your very system causing trouble that hasn't surfaced anywhere else... Stay calm, stick to your user name and keep your ataraxia - there are several people out there trying to help out.

If you can provide at least some of the information I requested above I am pretty sure that there will be a solution to be found.

CU
Froestel

_________________
Have you tried turning it off and on again? [Roy]


Top
 Profile  
 
 Post subject: Re: Hibernate Tools Installation on Eclipse 3.4.2
PostPosted: Sun Sep 20, 2009 7:46 pm 
Newbie

Joined: Sun Sep 20, 2009 3:38 pm
Posts: 5
I have the following configuration on my system.

Eclipse 3.4.2 (Build id: M20090211-1700)
Hibernate Tools 3.2.4.GA-R200905070146-H18
Database Apache Derby 10.5.1.1
Tried both JDK 1.5.0_21 & 1.6.0_16

Code:
<hibernate-configuration>
    <session-factory name="sessionFactory">
        <property name="hibernate.connection.driver_class">org.apache.derby.jdbc.ClientDriver</property>
        <property name="hibernate.connection.password">welcome</property>
        <property name="hibernate.connection.url">jdbc:derby://localhost:1527/derby</property>
        <property name="hibernate.connection.username">myapp</property>
        <property name="hibernate.dialect">org.hibernate.dialect.DerbyDialect</property>
    </session-factory>
</hibernate-configuration>


I have also tried development and nightly build of hibernate tools with Eclipse 3.5 on different systems with the same result. I intend to try a different database tomorrow to see if it makes any difference.


Top
 Profile  
 
 Post subject: Re: Hibernate Tools Installation on Eclipse 3.4.2
PostPosted: Mon Sep 21, 2009 7:19 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
What is the actual thing you are trying to do ?

Connect to the db means what ? Where you trying to reverse engineer, did you use the hibernate perpsective to browse the database or the DTP perspective ? And what did you expect it to do that it didnt do ?

Some more details on what you are actually trying to do would help us help you ;)

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: Re: Hibernate Tools Installation on Eclipse 3.4.2
PostPosted: Mon Sep 21, 2009 5:30 pm 
Newbie

Joined: Sun Sep 20, 2009 3:38 pm
Posts: 5
I expect my database schema and tables to be listed in the Hibernate Configurations view. It seems that the plugin does not work with the version of Apache Derby I am using (10.5.1.1). I tried the plugin with H2 database and it worked like a charm. I was able to browse the schema and also reverse engineered code.

I would suggest that if the plugin is not able to connect to the database and retrieve schema information, it should display a message in the Eclipse error log to indicate what went wrong.


Top
 Profile  
 
 Post subject: Re: Hibernate Tools Installation on Eclipse 3.4.2
PostPosted: Thu Sep 24, 2009 6:32 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
So we do report what went wrong - not sure what we can do here ? Looks like a misconfiguration ?

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: Re: Hibernate Tools Installation on Eclipse 3.4.2
PostPosted: Tue Sep 29, 2009 11:06 am 
Newbie

Joined: Sun Sep 20, 2009 3:38 pm
Posts: 5
Well, in my case the plugin didn't report any errors in the Eclipse error log. The .metadata\.plugins\org.hibernate.eclipse\hibernate-tools.log was also empty.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.