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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Regarding Mongodb

DMu3
12-Amethyst

Regarding Mongodb

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

1 ACCEPTED SOLUTION

Accepted Solutions

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
12-Amethyst
(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
12-Amethyst
(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

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

Top Tags