Have a look at:
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigDataSources
and
http://wiki.jboss.org/wiki/Wiki.jsp?page=SetUpAOracleDatasource
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980009#3980009
Reply to the post :
http://www.jboss.com/index.ht
Thanks for your reply
one more thing i need to know that how can from my web application I can get a
connection of the configured database?
Regards
Inder Jeet Singh
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980245#3980245
Reply to the post :
ht
Assuming that this is your datasource configuration:
|
| MyAppDS
|
jdbc:oracle:thin:@youroraclehost:1521:yoursid
| .
|
|
Note the jndi-name that you have specified for your datasource. The datasource
will be bound to java:/MyAppDS jndi-name(in this example). From y
I am done with "Getting connection from the JBoss connection pool". Now I would
like to know that, after doing my database processiong, how can i return the
connection back to the pool?
I have seen many example for JBoss connection pooling, but in all of then they
have used the conn.close(). But
anonymous wrote : I have seen many example for JBoss connection pooling, but in
all of then they have used the conn.close(). But according to me, we should not
close the connection, instead we should return the connection back to the pool.
The internal implementation of the close() method takes
Oh, is it so..
Then it is fine
Thanks for ur prompt reply
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981737#3981737
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981737
_