提交 e9e487f9 编写于 作者: S serge-rider

SQLite columns properties cleanup

上级 48a67b04
......@@ -358,6 +358,15 @@ public abstract class ObjectListControl<OBJECT_TYPE> extends ProgressPageControl
for (OBJECT_TYPE item : items) {
Object object = getObjectValue(item);
if (object != null && !classList.contains(object.getClass())) {
// Remove all base classes if we have sub class
for (int i = 0; i < classList.size(); i++) {
Class<?> c = classList.get(i);
if (c.isAssignableFrom(object.getClass())) {
classList.remove(i);
} else {
i++;
}
}
classList.add(object.getClass());
}
if (renderer.isTree()) {
......
......@@ -25,6 +25,18 @@ public class SQLiteTableColumn extends GenericTableColumn {
super(table, columnName, typeName, valueType, sourceType, ordinalPosition, columnSize, charLength, scale, precision, radix, notNull, remarks, defaultValue, autoIncrement, autoGenerated);
}
// Not a property
@Override
public boolean isAutoGenerated() {
return super.isAutoGenerated();
}
// Not a property
@Override
public long getMaxLength() {
return super.getMaxLength();
}
// Not a property
@Override
public Integer getScale() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册