336337338339340341342343344345346
if(polyDS.getPassword()==null || (passwordChanged!=null && "true".equals(passwordChanged))|| !PARAM_DEFAULT_PASS_VALUE.equals(getPassword())){ polyDS.setPassword(getPassword()); } polyDS.save(); } } } // Create a DataSource else {
351352353354355356357358359360361
} else if (getType().equals(CUSTOM_TYPE)) { JDBCDataSourceEntry polyDS = new JDBCDataSourceEntry(); fillValues(polyDS); polyDS.setPassword(getPassword()); polyDS.save(); } } setEDIT_MODE(false); setCreating(false); }
333334335336337338339340341342343
348349350351352353354355356357358
335336337338339340341342343344345
350351352353354355356357358359360
317318319320321322323324325326327
fillValues(jndiDS); jndiDS.save(); } else if (dSource instanceof JDBCDataSourceEntry && getType().equals(CUSTOM_TYPE)) { JDBCDataSourceEntry polyDS = (JDBCDataSourceEntry) dSource; fillValues(polyDS); polyDS.save(); } } } // Create a DataSource else {
331332333334335336337338339340341
jndiDS.save(); } else if (getType().equals(CUSTOM_TYPE)) { JDBCDataSourceEntry polyDS = new JDBCDataSourceEntry(); fillValues(polyDS); polyDS.save(); } } setEDIT_MODE(false); setCreating(false); }