factory = new SQLServerJNDIDataStoreFactory();
fillInJndiParams(params, jndiParamPanel);
}
else {
factory = new SQLServerDataStoreFactory();
// basic params
params.put(HOST.key, basicParamPanel.host);
params.put(PORT.key, basicParamPanel.port);
params.put(USER.key, basicParamPanel.username);