Configurating Read Replica with Ebean 15.x and Play Framework

13 views
Skip to first unread message

Wilton Risenhoover

unread,
Jul 27, 2025, 10:49:59 PMJul 27
to Ebean ORM
We are upgrading our Play Framework application from 2.7 to 2.9, along with ebean. We were successfully using a read replica with 2.7, but with the upgrade, it does not appear to be picking up the configuration properly.

I have found little documentation on this, but based on what I have read, I believe it should be configurable as such:

db.default.driver = org.postgresql.Driver
db.default.url = "postgres://xxx"
db.default.readOnlyUrl="postgres://xxx"

With this configuration, the default data source works properly, but the read replica is never used.

Thanks in advance for your help.

Rob Bygrave

unread,
Jul 27, 2025, 11:53:00 PMJul 27
to Ebean ORM
Reply all
Reply to author
Forward
0 new messages