Limitations
The infrastructure will try to get a target object for every row even if you do not need one. There is no way to tell the infrastructure not to do this.
If you do not have your table configured correctly you may see an error like
2011-02-24 16:42:10,883 TRACE [TP-Processor7] com.ptc.core.components.factory.dataUtilities.DefaultNmObjectUtility wcadmin - nmObject
2011-02-24 16:42:10,883 DEBUG [TP-Processor7] com.ptc.core.components.factory.dataUtilities.DefaultNmObjectUtility wcadmin - Exception occured trying to get an oid property.
java.lang.NoSuchMethodException: Unknown property 'oid' on class 'class com.ptc.core.meta.type.common.impl.DefaultTypeInstance' ...
If the table does not have any row actions or row selection, this error can be ignored. It is harmless. It is not important to have the right target object if there are no actions. The error message can be ignored or removed by implementing a getOid method on the row data. If the table has row selection and/or actions, use the guidelines in this document to correct the configuration and get the right oid.
Est-ce que cela a été utile ?