cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Regarding Mongodb

DMu3
13-Aquamarine

Regarding Mongodb

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

ACCEPTED SOLUTION

Accepted Solutions
Constantine
17-Peridot
(To:DMu3)

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

View solution in original post

6 REPLIES 6
posipova
20-Turquoise
(To:DMu3)

MongoDB is not supported with ThingWorx.

wposner-2
14-Alexandrite
(To:posipova)

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

posipova
20-Turquoise
(To:wposner-2)

Cassandra was the only Nosql db that was supported. Mongodb is not tested/supported BY PTC
wposner-2
14-Alexandrite
(To:posipova)

The OP didn't say anything about the default persistence provider.  ANY DB supporting a JDBC driver can be connected to TWX and used as a secondary persistence provider.

posipova
20-Turquoise
(To:wposner-2)

Unfortunately, that isn't the case with ThingWorx and we do not support MongoDB as a secondary /external persistence provider:

https://www.ptc.com/en/support/article/CS300235

Constantine
17-Peridot
(To:DMu3)

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

Announcements


Top Tags