Add support for DB2 database

Change-Id: I80712ff41b32f1347860de36598753dee9ce5d3e
This commit is contained in:
David Ostrovsky
2015-03-19 08:24:52 +01:00
committed by David Pursehouse
parent dc663c42a7
commit b1c919b4c3
10 changed files with 161 additions and 5 deletions

View File

@@ -21,6 +21,7 @@ public class DataSourceModule extends AbstractModule {
@Override
protected void configure() {
bind(DataSourceType.class).annotatedWith(Names.named("db2")).to(DB2.class);
bind(DataSourceType.class).annotatedWith(Names.named("h2")).to(H2.class);
bind(DataSourceType.class).annotatedWith(Names.named("jdbc")).to(JDBC.class);
bind(DataSourceType.class).annotatedWith(Names.named("mysql")).to(MySql.class);