jooby-{server}-https
http2
{
install(new HibernateModule(“db.first"));
install(new HibernateModule(“db.second"));
}
db.first
and db.second
must be configuration prooperties
require(EntityManager.class, “db.first”);
@Inject
public MyRepo(@Named(“db.first”) EntityManager em)