Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataSource returns null jdbc connection [SPR-10147] #14780

Closed
spring-projects-issues opened this issue Jan 5, 2013 · 1 comment
Closed

DataSource returns null jdbc connection [SPR-10147] #14780

spring-projects-issues opened this issue Jan 5, 2013 · 1 comment
Labels
in: data

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues commented Jan 5, 2013

Shivakumar N opened SPR-10147 and commented

When all the connections in connection-pool become active and another thread tries to fetch new connection and finally not able to get the connection dataSource returns null jdbc connection rather than throwing not able to get the connection.

Simple steps to reproduce.
Set max connection pool size to 0 and min size to 0. And try to get connection. It will return null instead of throwing exception.


Affects: 3.0.6

@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Jan 7, 2013

Chris Beams commented

I'm afraid there's simply not enough information to work with here. What kind of connection pool? What DataSource implementation? What gives you reason to believe that this behavior is directly or even indirectly related to the Spring Framework?

Feel free to reopen if you believe this issue is indeed a problem with the framework and if you can articulate the steps necessary to reproduce it. Otherwise, please consider posting to [StackOverflow|stackoverflow.com/questions/tagged/spring] or the perhaps the Spring forums.

@spring-projects-issues spring-projects-issues added type: bug in: data and removed type: bug labels Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: data
Projects
None yet
Development

No branches or pull requests

1 participant