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
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
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
: 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
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
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:
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
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