Add support for Oracle database

Change-Id: I2695c6df6e9eafeeae8cd68a84ef74f5e2c361ac
This commit is contained in:
David Ostrovsky
2013-07-14 14:37:17 +02:00
parent 2b061ea088
commit 399793f4a8
8 changed files with 135 additions and 1 deletions

View File

@@ -24,6 +24,7 @@ public class DataSourceModule extends AbstractModule {
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);
bind(DataSourceType.class).annotatedWith(Names.named("oracle")).to(Oracle.class);
bind(DataSourceType.class).annotatedWith(Names.named("postgresql")).to(PostgreSQL.class);
}
}