Spring Data Module Flashcards
1
Q
What is Connection Pooling?
A
Connection pooling is a technique that was pioneered by database vendors to allow multiple clients to share a cached set of connection objects that provide access to a database resource.
2
Q
Why should we use Connection Pooling?
A
Creating and Closing connection is a heavy operation. Connection Pooling give us huge performance improvements.
3
Q
What is a DataSource?
A
A DataSource is part of the JDBC specification and is a generalized connection factory. It lets a container or a framework hide connection pooling and transaction management issues from the application code.