File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Oracle/OAS and the fly likes Configuring Oracle 10 G to Work with Java Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "Configuring Oracle 10 G to Work with Java Hibernate" Watch "Configuring Oracle 10 G to Work with Java Hibernate" New topic
Author

Configuring Oracle 10 G to Work with Java Hibernate

Ramesh Jothimani
Ranch Hand

Joined: May 05, 2011
Posts: 70

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

Joined: May 26, 2003
Posts: 31058
    
232

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.


[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
Ramesh Jothimani
Ranch Hand

Joined: May 05, 2011
Posts: 70

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

Joined: May 26, 2003
Posts: 31058
    
232

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Configuring Oracle 10 G to Work with Java Hibernate