• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Configuring Oracle 10 G to Work with Java Hibernate

 
Ranch Hand
Posts: 70
Android Hibernate Eclipse IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 !
 
author & internet detective
Posts: 42154
937
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 Hibernate Eclipse IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 42154
937
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic