提交 975c9298 编写于 作者: J jurgen

Data formatter minor fix

Derby config uses named columns again
上级 574af456
......@@ -27,6 +27,7 @@ import org.jkiss.dbeaver.core.DBeaverCore;
import org.jkiss.dbeaver.model.data.DBDDataFormatterProfile;
import org.jkiss.dbeaver.utils.AbstractPreferenceStore;
import org.jkiss.dbeaver.utils.ContentUtils;
import org.jkiss.utils.CommonUtils;
import org.jkiss.utils.xml.SAXListener;
import org.jkiss.utils.xml.SAXReader;
import org.jkiss.utils.xml.XMLBuilder;
......@@ -247,8 +248,10 @@ public class DataFormatterRegistry
throws XMLException
{
if (localName.equals(RegistryConstants.TAG_PROFILE)) {
DataFormatterProfile profile = new DataFormatterProfile(profileName, curStore);
customProfiles.add(profile);
if (!CommonUtils.isEmpty(profileName)) {
DataFormatterProfile profile = new DataFormatterProfile(profileName, curStore);
customProfiles.add(profile);
}
}
}
}
......
......@@ -294,7 +294,6 @@
<file type="license" path="drivers/derby/LICENSE.txt" url="*"/>
<parameter name="query-get-active-db" value="select CURRENT SCHEMA from sysibm.sysdummy1"/>
<parameter name="query-set-active-db" value="SET CURRENT SCHEMA = ?"/>
<parameter name="meta-model" value="indexed"/>
</driver>
<driver
id="derby_server"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册