在jdbTable 中,如何指定view中的主键?
用两个表做了一个view
自己可以更新。
但在jdbTable中更新时出错:
DataSet has no unique row identifiers.
Note: For QuerYDataSets you need to disable metaDataUpdate.RowID in the MeatDataUpdate property, in addition to setting the RowId property on a column.
可是我指定了一列如下:
column1.setReadOnly(true);
column1.setRowId(true);
可是还不行。