Skip to main content
1-Visitor
March 3, 2020
Solved

Regarding Mongodb

  • March 3, 2020
  • 2 replies
  • 5083 views

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

Best answer by Constantine

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

2 replies

20-Turquoise
March 3, 2020

MongoDB is not supported with ThingWorx.

1-Visitor
March 3, 2020

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

20-Turquoise
March 3, 2020
Cassandra was the only Nosql db that was supported. Mongodb is not tested/supported BY PTC
18-Opal
March 4, 2020

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