added support for ebean and H2 database