sbds.setUser(ds.getUser());
sbds.setPassword(ds.getPwd());
sbds.setDriver(ds.getDriver());
//gets dialect informations
IDomainDAO domaindao = DAOFactory.getDomainDAO();
Domain doDialect = domaindao.loadDomainById(ds.getDialectId());
sbds.setHibDialectClass(doDialect.getValueCd());
sbds.setHibDialectName(doDialect.getValueName());
sbds.setMultiSchema(ds.getMultiSchema());
sbds.setSchemaAttribute(ds.getSchemaAttribute());