DualSessionFactory: proposed enhancement

32 views
Skip to first unread message

Boken Runner

unread,
Oct 25, 2020, 11:20:04 AM10/25/20
to dropwizard-dev
Hi, we have a small bit of code that we'd like to contribute to the dropwizard-hibernate module. It piggybacks off the UnitOfWork annotation to provide a Hibernate Session that points to the primary writer database or the read-replica cluster depending on the UnitOfWork.readOnly switch.

If you'd like to know more, I'd be happy to provide you the full details. If this is something that you feel would be of value to your Hibernate module, I'd be happy to make that contribution.

Best,
Dave
iCIMS

matthew...@gmail.com

unread,
Oct 25, 2020, 3:55:21 PM10/25/20
to dropwizard-dev
We would love that! Great idea. 

Boken Runner

unread,
Oct 25, 2020, 4:41:10 PM10/25/20
to dropwizard-dev
Fantastic! What is the best way for me to integrate? Should I create a feature branch for your review?

Matthew Perrett

unread,
Oct 26, 2020, 11:53:55 PM10/26/20
to dropwiz...@googlegroups.com
No idea sorry... I've never actually contributed to dropwizard (but I would like to start). I just happen to be on the mailing list. 

By we, I mean the company I work for would find that feature useful. 

--
You received this message because you are subscribed to the Google Groups "dropwizard-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dropwizard-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dropwizard-dev/d293e489-8003-4a5c-96a7-3b5a43183c9bn%40googlegroups.com.

Boken Runner

unread,
Oct 27, 2020, 1:39:16 PM10/27/20
to dropwizard-dev
Got it. Well, hopefully, I get some guidance from an active contributor.
Reply all
Reply to author
Forward
0 new messages