• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Configuring Oracle 10 G to Work with Java Hibernate

 
Ramesh Jothimani
Ranch Hand
Posts: 70
Android Eclipse IDE Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am a beginner of Java - Hibernate . I have installed Oracle 10G in my PC and I am not aware of how to link between my Java Code (hibernate-config.xml) and Oracle DB . I have Googled regarding it and came to know that we need to create a Listener & seperate DB to configure in hibernate-config.xml and tnsnames.ora . I am not aware about these configurations.

Kindly help me to resolve the same.

Thanks !
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34210
341
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I recommend trying this one at a time. First create the listener. Oracle provides a wizard for this. When you are able to connect to your database using sql plus, you will be ready for hibernate.
 
Ramesh Jothimani
Ranch Hand
Posts: 70
Android Eclipse IDE Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply !

I have installed Oracle 10G in my PC but I can't find " Oracle Net Manager " . I have connected my Oracle to SQL Plus and it is working fine. Can you please tell me how to find out whether there is a listener already or else how to create one ?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34210
341
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As the link I posted alluded to, Net Manager is under:
Start > Programs > Oracle - HOME_NAME > Configuration and Migration Tools > Net Manager

If it works in SQL plus, that means your listener is set up though. SInce we are moving on to another question, I recommend posting in the ORM forum up top a more specific question about Hibernate.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic