Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi All,
Is it possible to access more than one database in a thing template? If yes what would be the configuration settings needed for the same?
Also wanted to know if Host name and Database name in JDBC connection string in Configuration for database thing can be made configurable so as to have flexibilty in changing hostname, portname db name etc without having to change the thing.
Hi Raj, what would be the use case for this?
Hi,
The issue is that i have two databases in my project. In same thing template i want to access data from both these. As of now there is only one jdbc settings associated to thing template. I wanted to know about the settings for multiple databases in thing template.
Hello Raj,
We would recommend you create two Database Things. Each one of these Things is a connection to a Database so you can access its information. Each of these can have there own jdbc settings.