RefreshSchema
- Last Updated: December 15, 2025
- 1 minute read
- DataDirect Connectors
- JDBC
- MongoDB 6.1
- Documentation
Purpose
Specifies whether the driver adds newly discovered objects to the relational map when connecting.
Valid Values
true | false
Behavior
If set to true, the driver adds newly discovered objects to the relational view of your data. At connection, the driver compares the relational map to a new sample of the data from the server. Any new objects that are detected are mapped to the relational view.
If set to false, the driver does not refresh the relational map when connecting to the server.
Notes
This property is equivalent to executing the Refresh Map statement.
Data Source Methods
public Boolean getRefreshSchema()
public void setRefreshSchema(Boolean)
Default Value
false
Data Type
Boolean