+1 for Hikari. I don't remember the numbers off the top of my head, but I switched from DBCP to Hikari a few years ago and the speed improvement was pretty noticeable. The gains seemed to largely come from relationship faults as you could get and return your DB connection faster with Hikari.
On Mon, Aug 10, 2020 at 1:49 AM Andrew Lindesay <a...@lindesay.co.nz> wrote: > Hello Tony; > > I have a hobby Spring (not SpringBoot) application that uses Cayenne. > > https://github.com/haiku/haikudepotserver > > The configuration class `PersistenceConfig` shows how an instance of > `ServerRuntime` is created and is then able to be injected where it is > required. > > Hope this helps. > > Regards. > > -- > Andrew Lindesay > > On Fri, 31 Jul 2020, at 01:03, Tony Giaccone wrote: > > Yes, I know I asked this question before, and there were some answers > > previously, one of them has led me to a solution I think works, haven't > > quite got it functional yet, but it's close. I asked again because it's > > been a while since the first time and I thought maybe someone else had an > > easily available solution. > > > > > > Tony > > > > On Thu, Jul 30, 2020 at 1:51 AM Andrus Adamchik <and...@objectstyle.org> > > wrote: > > > > > Hi Tony, > > > > > > I haven't used Cayenne with SpringBoot for obvious reasons, but it > should > > > be no different from using it in any other env: > > > > > > * Create a ServerRuntime singleton > > > * Get ObjectContext from it when you need it. > > > > > > Andrus > > > > > > > On Jul 29, 2020, at 5:33 PM, Tony Giaccone <t...@giaccone.org> > wrote: > > > > > > > > I see there's a cayenne spring boot starter project, has anyone used > > > this? > > > > What's the state of using Cayenne with springboot? > > > > > > > > > > > > > > > > Tony Giaccone > > > > > > > > >