Open laithalqudah opened 6 years ago
Can you try to rephrase your question, please? Unfortunately, I am not able to understand what you are asking..
@arjenw when i make a query or run a statment, the java action should open a connction for, is this opened connection closed directly after returned result?or still open for a specific period?
As you could see in the JdbcConnector, a try-with-resource is used both on the connection and the statement. Given that pooling is used, the connection is used, committed, then returned to the connection pool, as per JDBC design.
is the two actions close the opened connection after returning the result?