BatooOrg / BatooJPA

Batoo JPA - Fastest JPA Implementation Ever! Over 15 times faster than the leading JPA implementations.
http://batoo.org
137 stars 32 forks source link

Implement Pluggable Datasource Inlets #40

Open hceylan opened 12 years ago

hceylan commented 12 years ago

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 (...)

hceylan commented 12 years ago

The original request is satisfied with BoneCP integration. AdHoc datasources will e revisited in the future.

lburgazzoli commented 10 years ago

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.

lburgazzoli commented 10 years ago

@hceylan, @asimarslan code moved to https://github.com/lburgazzoli/BatooJPA

asimarslan commented 10 years ago

Thanks @lburgazzoli , I like the idea and I will review the related PR and try to merge it.

lburgazzoli commented 10 years ago

@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.

asimarslan commented 10 years ago

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.

lburgazzoli commented 10 years ago

Ah yes, sorry :-)