NamedIDBehavior
- Last Updated: January 23, 2024
- 1 minute read
- DataDirect Connectors
- JDBC
- Documentation
Purpose
Determines whether the Name attribute of NamedID fields is exposed in the relational map.
Valid Values
All | OnlyID
Behavior
If set to All, the driver exposes the Name attribute of the NamedID fields in the relational model. Specify this setting if your application needs to access the Name strings associated with NamedID columns.
If set to OnlyID, the driver does not expose the Name attribute of the NamedID fields in the relational model. This setting can be used to avoid "poor performing query" errors received when executing SELECT * queries against tables containing a large number of rows.
Notes
If you are receiving "poor performing query" errors, you can work around this issue by setting NamedIDBehavior=OnlyID. This reduces the size of the result set, allowing the Oracle Service Cloud service to successfully return the query. For this change to have effect, you will need to recreate the Oracle Service Cloud data model.
Data Source Methods
public String getNamedIdBehavior()
public void setNamedIdBehavior(String)
Default Value
All
Data Type
String