1 Reply Latest reply on Jan 26, 2008 4:51 PM by Ales Justin

    DataSourceDeploymentMetaData getManagedConnectionFactoryProp

    Mark Spritzler Apprentice

      I found this in the DataSourceDeploymentMetaData at lines 337-351

      I am thinking that the second properties setName() is using the wrong name. I don't think both properties are supposed to be using the same name, unless it is an either/or config property

       if(getStaleConnectionCheckerClassName() != null)
       {
       property = new ManagedConnectionFactoryPropertyMetaData();
       property.setName("StaleConnectionCheckerClassName");
       property.setValue(getStaleConnectionCheckerClassName());
       properties.add(property);
       }
      
       if(getURLSelectorStrategyClassName() != null)
       {
       property = new ManagedConnectionFactoryPropertyMetaData();
       property.setName("StaleConnectionCheckerClassName");
       property.setValue(getStaleConnectionCheckerClassName());
       properties.add(property);
       }
      


      Thanks