-->
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.  [ 3 posts ] 
Author Message
 Post subject: HT 3.2.4 on Eclipse 3.5RC3: Trouble adding db connection
PostPosted: Mon Jun 15, 2009 11:55 am 
Regular
Regular

Joined: Mon Aug 07, 2006 6:22 pm
Posts: 67
First of all, is Hibernate Tools 3.2.4 usable on Eclipse 3.5RC3?

When installing HT for use with an existing project, it would sure be nice if the options to add mapping files gave you the ability to search a tree for all available candidates and preselect them, pending confirmation.

My project uses Oracle. I have the Oracle driver in my maven dependencies. When I proceeded to try to create a database connection for use with HT, I wasn't able to get anywhere. When I clicked "New" on the "Database Connection" line in the "Edit launch configuration properties" (where the field was currently set to "[Hibernate configured connection]"), it brought up a "New Connection Profile" dialog, where it offered only the option of a "Generic JDBC" connection. When I "Next"ed on that, the dialog with the "Drivers" list was empty. Is there something I'm missing that will populate the Drivers list with the Oracle driver from my Maven dependencies?


Top
 Profile  
 
 Post subject: Re: HT 3.2.4 on Eclipse 3.5RC3: Trouble adding db connection
PostPosted: Tue Jun 16, 2009 5:46 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
I don't recall there being any reported issues against Hibernate tools for 3.5, but I would recommend using the latest dev release which is verified on 3.5.

I'm not sure what you want with the mappings files ? add them to cfg.xml or ?

Under Generic JDBC you can configure which drivers to use, they are not bound to the project so wont pick up what is in your jar.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: Re: HT 3.2.4 on Eclipse 3.5RC3: Trouble adding db connection
PostPosted: Tue Jun 16, 2009 6:07 pm 
Regular
Regular

Joined: Mon Aug 07, 2006 6:22 pm
Posts: 67
I'm going to guess there isn't an update site for the dev release? I'd have to install it manually?

You don't understand what I would want the Hibernate mapping files for? Am I missing something? What is the point of this if not to have it know what all of my Hibernate mapping files are?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.