Following question can be seens as a strategy to improve resource usage. MAIN QUESTION Is there a way i can say to hibernate that a particular hibernate transaction is readonly and hibernate can then reuse an already acquired connection instead of asking for a new connection from the connection pool ?
link to question description: http://stackoverflow.com/questions/36920695/hibernate-and-transaction-using-method-annotation
More info with few trials: https://github.com/swaldman/c3p0/issues/70 |
|