One Star

Do we have to close the database connection explicitly?

Hi Guys,
I am using mysql database. The connection property is defined via Repository. Do we need to close the database connection explicitly? If yes, how can we achieve that? Thanks.
2 REPLIES
Moderator

Re: Do we have to close the database connection explicitly?

Hi,
Do you want to mask your DB connection parameters? If you have defined you database connection in Metadata then you can use the "Export as Context" button in the DB connection page to create an initial context group to mask your info.
Please take a look at my screenshots
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: Do we have to close the database connection explicitly?

Hi Sabrina,
Yes, I am using metadata. My question was do we need to close database connection in the process e.g using tmysqlclose or tmysqlcommit? Thanks.
Regards,
MG