| Author |
Configuring Oracle 10 G to Work with Java Hibernate
|
Ramesh Jothimani
Ranch Hand
Joined: May 05, 2011
Posts: 40
|
|
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
internet detective
Marshal
Joined: May 26, 2003
Posts: 26193
|
|
|
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: 40
|
|
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
internet detective
Marshal
Joined: May 26, 2003
Posts: 26193
|
|
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.
|
 |
 |
|
|
subject: Configuring Oracle 10 G to Work with Java Hibernate
|
|
|