Posts by rado • 151 points
2 posts
-
1
votes0
answers49
viewsQ: How to prevent the Hibernate Connection pool to launch the connection limit exception?
I have a stateless DAO using JPA that uses the Hibernate Connection pool to apply your transactions with the database. Whenever the entityManager Hibernate is started, I have the following line on…
-
4
votes3
answers31930
viewsA: Make an algorithm to calculate the number of days elapsed between two dates in c++
Well, because it’s a college exercise, I’m not going to post the full code here, but a draft for the algorithm. Let D1,M1 and a1 be the values of the day, month and year of the oldest date and D2,m2…