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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why should we use Connection Pooling?

A

Creating and Closing connection is a heavy operation. Connection Pooling give us huge performance improvements.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly