wood burning stoves*
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse – Hibernate Tools – New connection profile Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse – Hibernate Tools – New connection profile" Watch "Eclipse – Hibernate Tools – New connection profile" New topic
Author

Eclipse – Hibernate Tools – New connection profile

Andris Sigs
Greenhorn

Joined: Sep 16, 2013
Posts: 18
Hello. Sorry for my English.
I’m trying to add new connection profile to Eclipses Hibernate tolls. But in configuration window I can specify only SID, but my database uses Service name. What can I do in this situation?



Thanks you.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30138
    
150

Andris,
The SID and service name are often the same. Have you tried the service name?

Also, do you have a tnsnames.ora file on your machine? Can you paste the relevant line from it here?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Andris Sigs
Greenhorn

Joined: Sep 16, 2013
Posts: 18
Have you tried the service name? Yes I have. Don't worked.

tnsnames.ora:

MDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.198.18.20)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = MDB.NET)
(SERVER = DEDICATED)
)
)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse – Hibernate Tools – New connection profile
 
Similar Threads
Include Hibernate in Eclipse
Weblogic error messages/logs
How can i include Hibernate jar file in to Eclipse IDE
Connect ECLIPSE WITH SQL Server 2008
java(ireport connection with spring loaded Hibernate)