I have 2 databases that I need to connect to. I can easily connect to them in the application.conf file like so:
db.default.driver=org.postgresql.Driver db.d
Ok, your application.conf seems to be correct.
application.conf
You may use the secondary server like this:
EbeanServer secondary = Ebean.getServer("secondary"); secondary.find(User.class).findList();
Once you've got your secondary server, you may treat it just as you treat the Ebean singleton.
Ebean