• Post Reply Bookmark Topic Watch Topic
  • New Topic

TNS to Hibernate URL mapping  RSS feed

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

jdbcracle:thin:\\\@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=ON)(FAILOVER=ON)(ADDRESS=(PROTOCOL=TCP)(HOST= oracdevelopment1-vip.dev.bbbb.ooo)(PORT=9886))(ADDRESS=(PROTOCOL=TCP)(HOST= oracdevelopment2-vip.dev.bing.ooo)(PORT=9886))) (CONNECT_DATA=(SERVICE_NAME=orgservice.dev.bing.ooo)))

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?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!