This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
The moose likes Websphere and the fly likes about jdbc provider Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "about jdbc provider" Watch "about jdbc provider" New topic

about jdbc provider

vasu chowdary
Ranch Hand

Joined: Mar 15, 2008
Posts: 90
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 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 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

Joined: Feb 13, 2004
Posts: 446
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
vasu chowdary
Ranch Hand

Joined: Mar 15, 2008
Posts: 90
thank you deepak you have given a valueble information to me it solved my problem
It is sorta covered in the JavaRanch Style Guide.
subject: about jdbc provider
It's not a secret anymore!