Skip to main content
Mar 3, 2020 10:10 AM UTC
Solved

Regarding Mongodb

Hello,
Can anyone tell how to connect mongodb into ThingWorx, and how to give jdbc settings for mongodb in thingworx?

Mar 4, 2020 8:35 AM UTC

Hello @DMu3,

 

You need to go via JDBC-extension route described in Help: http://support.ptc.com/help/thingworx_hc/thingworx_8_hc/en/#page/ThingWorx%2FHelp%2FExtensibility%2FJDBCExtension%2FJDBCExtension.html

 

This will allow you to create SQL services to insert, query, delete, etc. (just like JavaScript services, but in SQL). This will NOT allow you to store your entities (things, data tables, etc.) in MongoDB.

 

/ Constantine

6 replies

Mar 3, 2020 3:59 PM UTC

MongoDB is not supported with ThingWorx.

Mar 3, 2020 6:53 PM UTC

Any database that has a JDBC driver is supported in TWX.

Mar 3, 2020 8:06 PM UTC
Cassandra was the only Nosql db that was supported. Mongodb is not tested/supported BY PTC
Mar 4, 2020 8:35 AM UTC

Hello @DMu3,

 

You need to go via JDBC-extension route described in Help: http://support.ptc.com/help/thingworx_hc/thingworx_8_hc/en/#page/ThingWorx%2FHelp%2FExtensibility%2FJDBCExtension%2FJDBCExtension.html

 

This will allow you to create SQL services to insert, query, delete, etc. (just like JavaScript services, but in SQL). This will NOT allow you to store your entities (things, data tables, etc.) in MongoDB.

 

/ Constantine