Feedback
Did this article resolve your question/issue?

   

Article

Is it possible to update a MongoDB Schema definition through the JDBC driver?

Information

 
TitleIs it possible to update a MongoDB Schema definition through the JDBC driver?
URL NameIs-it-possible-to-update-a-MongoDB-Schema-definition-through-the-JDBC-driver
Article Number000178643
EnvironmentProduct: Connect for JDBC MongoDB
Version: 6.0
OS: JAVA
Database: MongoDB
Application: All supported applications
Question/Problem Description
Is it possible to update a MongoDB Schema definition through the Connect for JDBC MongoDb driver?
Steps to Reproduce
Clarifying Information
Within the Connect for JDBC MongoDB driver Schema Tool there is a button called "RESTART WIZARD" that allows a reset the relational view of the schema definition. Is there a statement to do that with the MongoDB JDBC driver?
Error Message
Defect Number
Enhancement Number
Cause
Resolution
This is functioning as designed. In general, since there's a backend change that you want to pick up, the "REFRESH MAP" command is appropriate. The MongoDB driver this call is additive-only -- i.e. only new objects will be picked up...nothing will be hidden. This is to avoid cases where large numbers of manual edits are lost via a single "REFRESH" command, as well as to mitigate situations in which the contents of existing tables change frequently, as such changes could otherwise result in the deletion of child tables from the map.

The Schema Tool must be used in order to remove the tables from their map. You should not need to use "Restart Wizard", though you should be able to browse to the  table and hide via right-click > remove object or the "remove object" button on the toolbar.
Workaround
Notes
Last Modified Date12/6/2016 7:58 PM
Files
Disclaimer The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.