cancel
Showing results for 
Search instead for 
Did you mean: 

JDBC Connection

Former Member
0 Kudos

Hi Friends,

When we are trying to post multiple messages many times, <b>Is the XI creates a new Connection object(to connect to database) everytime</b> we posted or it wll <b>reuse the same Connection object</b>?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

But how the Connection object was retained by the XI?

prateek
Active Contributor
0 Kudos

This object handling is part of the connection pool on Java engine

See SAP Note 831162

section J2EE JDBC Connector and Connection Pooling

Use option in the adatpter "Disconnect from Database After Processing Each Message"

Set this indicator if the database connection is to be released and reestablished before every poll interval.

Regards,

Prateek

Former Member
0 Kudos

Hi

Connection is established once.

Thanks

Former Member
0 Kudos

Naresh,

Connection once established, is not created again and again.

U can crreate the connection for once and forget. (if it is succesful)

regards,

Vishal