You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by ananth_raghuraman <ar...@gmail.com> on 2016/06/10 07:00:14 UTC

HikariCP configuration in TomEE

How can I create a HikariCP connection pool in TomEE?
HikariCP is here:
https://github.com/brettwooldridge/HikariCP#configuration-knobs-baby



--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/HikariCP-configuration-in-TomEE-tp4678838.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: HikariCP configuration in TomEE

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi,

you can either write a custom DataSourceCreator to reuse all tomee
DataSource defaults or just use a plain resource declaration (what you'll
miss is 1. JTA support if needed, if so use
https://issues.apache.org/jira/browse/TOMEE-1172 and 2. default values so
you will need to configure the datasource correctly but I guess that's what
you are looking for using this pool).

For plain resource configuration you can have a look to
http://tomee.apache.org/ng/admin/configuration/resources.html



Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

2016-06-10 9:00 GMT+02:00 ananth_raghuraman <ar...@gmail.com>:

> How can I create a HikariCP connection pool in TomEE?
> HikariCP is here:
> https://github.com/brettwooldridge/HikariCP#configuration-knobs-baby
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/HikariCP-configuration-in-TomEE-tp4678838.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>