Showing posts with label datasource. Show all posts
Showing posts with label datasource. Show all posts

Monday, September 24, 2012

Difference between SID and Service for WLST Config


How to define a datasource in Oracle WebLogic WLST Configuration

For a SID:
<attribute name="Url" value="jdbc:oracle:thin:@hostname:1521:SID" />

For a Service:
<attribute name="Url" value="jdbc:oracle:thin:@hostname:1521/Service" />

Thursday, December 24, 2009

Get a connection from datasource

Get a database connection from datasource: