Open hceylan opened 12 years ago
The original request is satisfied with BoneCP integration. AdHoc datasources will e revisited in the future.
I've done a little development on this topic in my BatooJPA fork: https://github.com/lburgazzoli/BatooJPA/commit/8666c17ba1c410c9579944a94564bad96bc57160
And I've created some examples using BoneCP and HikariCP: https://github.com/lburgazzoli/lb-sandbox-java/tree/master/sbox-batoojpa
I do not know if it goes in the direction you'd like. I would really appreciate any feedback.
@hceylan, @asimarslan code moved to https://github.com/lburgazzoli/BatooJPA
Thanks @lburgazzoli , I like the idea and I will review the related PR and try to merge it.
@asimarslan I have not yer opened a PR :-) , please have a look at the code then if you like it, I'll opend a PR.
You have a PR #214 related to guava version which also include the external datasource. But it is old and I will compare it your repo and pull your improvements.
Ah yes, sorry :-)
A Plugabble datasource implementation that will:
i.e.:
batoo.datasource.com.jolbox.bonecp.class= com.jolbox.bonecp.BoneCPDatasourceProxy batoo.datasource.com.jolbox.bonecp.statementsCacheSize= 50 batoo.datasource.com.jolbox.bonecp.releaseHelperThreads= 0 (...)