public OracleNGJNDIDataStoreFactory() { super(new OracleNGDataStoreFactory()); }
@Override protected boolean checkDBType(Map params) { if (super.checkDBType(params)) { try { // check for old factory Class.forName("org.geotools.data.oracle.OracleDataStoreFactory"); // it is around, let it handle this connection return false; } catch (ClassNotFoundException e) { // old factory not around, pick up the connection return true; } } else { // check for the old id return checkDBType(params, "Oracle"); } }
list.add(new DatabaseConnectionField(OracleNGDataStoreFactory.PASSWD)); OracleNGDataStoreFactory factory = new OracleNGDataStoreFactory(); factory.getDisplayName(), true, list,
factory = new OracleNGDataStoreFactory();