Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Best practice in using shared DB connections

hi,

 

We have many talend jobs that are mapped as Karaf end points.

 

The talend jobs all use shared db connections with the same DB connection name. 

The jobs have sub jobs, which also have use the same DB connection.

 

1. Is it right to close the connections, since we are sharing the DB connections?

2. In a multithreaded scenario (when karaf maps 2 routes to the talend job at the same instance in time), will the connection object be shared?

 

What is the best practice around this?

 

Thanks so much for you response.

 

Regards,

Flora

Labels (2)
1 Reply
Anonymous
Not applicable
Author

Hello,

Sorry for delay!

We have redirected your issue to our experts and then come back to you as soon as we can.

Best regards

Sabrina