This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "about jdbc provider" Watch "about jdbc provider" New topic
Author

about jdbc provider

vasu chowdary
Ranch Hand

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

Joined: Feb 13, 2004
Posts: 443
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

Joined: Mar 15, 2008
Posts: 88
thank you deepak you have given a valueble information to me it solved my problem
 
Don't get me started about those stupid light bulbs.
 
subject: about jdbc provider
 
Similar Threads
DataSouce without JNDI
Create MySQL DataSource Problem
java.lang.NullPointerException error in Datasource
Quartz1.6.4 - how to maintain state after system/application restart
Strange problem with WAS and Sybase