You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by we...@apache.org on 2004/08/03 19:28:09 UTC
cvs commit: jakarta-jetspeed-2/components/rdbms/src/java/org/apache/jetspeed/components/datasource BoundDBCPDatasourceComponent.java
weaver 2004/08/03 10:28:09
Modified: components/rdbms/src/java/org/apache/jetspeed/components/datasource
BoundDBCPDatasourceComponent.java
Log:
allow a top level jdbc context naming
Revision Changes Path
1.4 +1 -0 jakarta-jetspeed-2/components/rdbms/src/java/org/apache/jetspeed/components/datasource/BoundDBCPDatasourceComponent.java
Index: BoundDBCPDatasourceComponent.java
===================================================================
RCS file: /home/cvs/jakarta-jetspeed-2/components/rdbms/src/java/org/apache/jetspeed/components/datasource/BoundDBCPDatasourceComponent.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- BoundDBCPDatasourceComponent.java 29 Jun 2004 12:37:55 -0000 1.3
+++ BoundDBCPDatasourceComponent.java 3 Aug 2004 17:28:08 -0000 1.4
@@ -76,6 +76,7 @@
try
{
jndi.bindObject("comp/env/jdbc/"+bindName, getDatasource());
+ jndi.bindObject("jdbc"+bindName, getDatasource());
}
catch (NamingException e)
{
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org