Pax JDBC DataSourceFactory connection pooling config

2017-11-20 Thread Leschke, Scott
How does one configure the underlying connection pool when using Pax JDBC DataSourceFactory? I've been using this for a while and recently discovered it's not behaving as I intended. I'm using Hikari as my CP, and want to configure the following Hikari properties: poolName maximumPoolSize mini

Re: Pax JDBC DataSourceFactory connection pooling config

2017-11-21 Thread Timothy Ward
Hi Scott, If you’re interested in using JDBC with pooling in an OSGi environment then I really would recommend looking at the Transaction Control service. This is a new specification coming in OSGi release 7, and it provides significant extensions to the DataSourceFactory model, including pooli

Re: Pax JDBC DataSourceFactory connection pooling config

2017-11-21 Thread Christian Schneider
When I look into the source I see that the hikari pooling checks for the prefix "hikari.". Maybe you can set a breakpoint there and check what it actually does. See: https://github.com/ops4j/org.ops4j.pax.jdbc/blob/master/pax-jdbc-pool-hikaricp/src/main/java/org/ops4j/pax/jdbc/pool/hikaricp/impl/H

RE: Pax JDBC DataSourceFactory connection pooling config

2017-11-21 Thread Leschke, Scott
: Tuesday, November 21, 2017 6:22 AM To: user@karaf.apache.org Subject: Re: Pax JDBC DataSourceFactory connection pooling config When I look into the source I see that the hikari pooling checks for the prefix "hikari.". Maybe you can set a breakpoint there and check what it actually does. S

RE: Pax JDBC DataSourceFactory connection pooling config

2017-11-22 Thread Leschke, Scott
are exposed. Regards, Scott From: Timothy Ward [mailto:tim.w...@paremus.com] Sent: Tuesday, November 21, 2017 4:01 AM To: user@karaf.apache.org Subject: Re: Pax JDBC DataSourceFactory connection pooling config Hi Scott, If you’re interested in using JDBC with pooling in an OSGi environment

Re: Pax JDBC DataSourceFactory connection pooling config

2017-11-22 Thread Timothy Ward
recated APIs that are exposed. > > Regards, > > Scott > > From: Timothy Ward [mailto:tim.w...@paremus.com > <mailto:tim.w...@paremus.com>] > Sent: Tuesday, November 21, 2017 4:01 AM > To: user@karaf.apache.org <mailto:user@karaf.apache.org> > Subject:

RE: Pax JDBC DataSourceFactory connection pooling config

2017-11-22 Thread Leschke, Scott
to bake a cake, you have to break some eggs. Oh well, one man’s opinion. Thanks for the response, Scott From: Timothy Ward [mailto:tim.w...@paremus.com] Sent: Wednesday, November 22, 2017 11:17 AM To: user@karaf.apache.org Subject: Re: Pax JDBC DataSourceFactory connection pooling config Hi

Re: Pax JDBC DataSourceFactory connection pooling config

2017-11-22 Thread Timothy Ward
eggs. Oh well, one man’s opinion. Thanks for > the response, > > Scott > > From: Timothy Ward [mailto:tim.w...@paremus.com] > Sent: Wednesday, November 22, 2017 11:17 AM > To: user@karaf.apache.org > Subject: Re: Pax JDBC DataSourceFactory connection pooling config &g