Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

TNS to Hibernate URL mapping

Rachel Kumar
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a TNS Entry url to connect to the Oracle Database


i am using hibernate to connect from my application to the oracle database

so i tired with this url :

this of this pattern :
jdbcracle:thin:@host:port:service name

But i am not able to connect,getting this exception:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource':

any help?
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!