diff --git a/plugins/org.jkiss.dbeaver.ext.mockdata/plugin.xml b/plugins/org.jkiss.dbeaver.ext.mockdata/plugin.xml
index 083b542bdf5a935d23159a2bf54505b31cb1d98b..c77b24cd25fdfdbead459b4bec7828ce532991ee 100644
--- a/plugins/org.jkiss.dbeaver.ext.mockdata/plugin.xml
+++ b/plugins/org.jkiss.dbeaver.ext.mockdata/plugin.xml
@@ -5,6 +5,10 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
properties) throws DBException {
+ super.init(container, attribute, properties);
+
+ Object value = properties.get("value"); //$NON-NLS-1$
+ if (value != null) {
+ if (attribute.getDataKind() == DBPDataKind.DATETIME) {
+ try {
+ this.value = DATE_FORMAT.parse((String) value);
+ } catch (ParseException e) {
+ throw new DBException("Can't parse the value '" + value + "' as a date", e);
+ }
+ } else {
+ this.value = value;
+ }
+ } else {
+ if (attribute.getDataKind() == DBPDataKind.STRING) {
+ this.value = "";
+ }
+ }
+ }
+
+ @Override
+ public Object generateOneValue(DBRProgressMonitor monitor) throws DBException, IOException {
+ if (isGenerateNULL()) {
+ return null;
+ } else {
+ return value;
+ }
+ }
+}