报如下错
No import configurations found for entity
简单跟了一下代码,发现需要在表ImportConfiguration中做配制,不知道怎么配制方法
SELECT e FROM ddcdi$ImportConfiguration e where e.entityClass = :propertyValue0
能说一下操作步骤吗?
1.直接把dataimport组件引入项目
2.加入如下代码,跑程序,报上面的错
public class RkdBrowse extends StandardLookup<Rkd> implements WithImportWizard { //
@Inject
protected CollectionContainer<Rkd> rkdsDc;
@Inject
protected GroupTable<Rkd> rkdsTable;
@Override
public Map<String, Object> getDefaultValues() {
return null;
}
@Inject
protected ButtonsPanel buttonsPanel;
@Override
public ListComponent getListComponent() {
return rkdsTable;
}
@Override
public CollectionContainer getCollectionContainer() {
return rkdsDc;
}
@Override
public ButtonsPanel getButtonsPanel() {
return buttonsPanel;
}
参考这部分文档来给实体配置导入参数: