File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse – Hibernate Tools – New connection profile

 
Andris Sigs
Greenhorn
Posts: 19
  • 0
  • 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: 33674
316
Eclipse IDE Java VI Editor
  • 0
  • 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
  • 0
  • 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