geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From genspr...@apache.org
Subject svn commit: r992923 - /geronimo/server/trunk/plugins/connector-1_6/geronimo-connector-1_6/src/main/java/org/apache/geronimo/connector/wrapper/DatabaseInitializationGBean.java
Date Mon, 06 Sep 2010 01:59:49 GMT
Author: genspring
Date: Mon Sep  6 01:59:49 2010
New Revision: 992923

URL: http://svn.apache.org/viewvc?rev=992923&view=rev
Log:
fix the datasouce reference to reenable the DatabaseInitializationGBean.

Modified:
    geronimo/server/trunk/plugins/connector-1_6/geronimo-connector-1_6/src/main/java/org/apache/geronimo/connector/wrapper/DatabaseInitializationGBean.java

Modified: geronimo/server/trunk/plugins/connector-1_6/geronimo-connector-1_6/src/main/java/org/apache/geronimo/connector/wrapper/DatabaseInitializationGBean.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/connector-1_6/geronimo-connector-1_6/src/main/java/org/apache/geronimo/connector/wrapper/DatabaseInitializationGBean.java?rev=992923&r1=992922&r2=992923&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/connector-1_6/geronimo-connector-1_6/src/main/java/org/apache/geronimo/connector/wrapper/DatabaseInitializationGBean.java
(original)
+++ geronimo/server/trunk/plugins/connector-1_6/geronimo-connector-1_6/src/main/java/org/apache/geronimo/connector/wrapper/DatabaseInitializationGBean.java
Mon Sep  6 01:59:49 2010
@@ -54,7 +54,7 @@ public class DatabaseInitializationGBean
     public DatabaseInitializationGBean(@ParamAttribute(name="testSQL") String testSQL, 
                                        @ParamAttribute(name="sql") String sql,
                                        @ParamAttribute(name="path") String path, 
-                                       @ParamReference(name="DataSource", namingType=NameFactory.JCA_CONNECTION_FACTORY)
ResourceSource<ResourceException> cfSource, 
+                                       @ParamReference(name="DataSource", namingType=NameFactory.JCA_CONNECTION_MANAGER)
ResourceSource<ResourceException> cfSource, 
                                        @ParamSpecial(type = SpecialAttributeType.bundle)
Bundle bundle) throws Exception {
 
         DataSource ds = (DataSource) cfSource.$getResource();



Mime
View raw message