This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse – Hibernate Tools – New connection profile

 
Andris Sigs
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 34422
347
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Andris Sigs
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
)
)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic