Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

about jdbc provider

 
vasu chowdary
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am fairly new to websphere.please tell me ,why we are configuring jdbc provider in websphere?I am alredy using hibernate so it will take care of all database related issues.so what is the use if i maintain a jdbc provider and data source in WAS?

and one more question is....

if i create JdbcProvider and datasource in WAS,does my application code use this configuration to interact with database(how it is possible.I already maintain jdbc.properties file which is invoked by spring at runtime to create datasource)?



please clear the above doubts which have been distrubing me for 1 week.


thank you
 
Deepak Pant
Ranch Hand
Posts: 446
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes you will have to create a JDBC Provider and JDBC Datasource, which you will refer from your Spring/Hibernate application.

I would suggest you read this article:
Using Spring and Hibernate with WebSphere Application Server
http://www.ibm.com/developerworks/websphere/techjournal/0609_alcott/0609_alcott.html
 
vasu chowdary
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you deepak you have given a valueble information to me it solved my problem
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic