@@ -19,6 +19,7 @@ public interface EbeanSDK {
1919 /**
2020 * Return an ebean Database builder for the underlying database (url, username, password).
2121 * <p>
22+ * This defaults to register with Ebean's io.ebean.DB as the default database.
2223 * The name of the ebean database will be dbName set for the container.
2324 * <p>
2425 * This builder will have ddlGenerate set to true and ddlRun set to true. Alternatively,
@@ -32,22 +33,27 @@ public interface EbeanSDK {
3233 io .ebean .datasource .DataSourceBuilder dataSourceBuilder ();
3334
3435 /**
35- * Return a DataSource builder for the extra database (url, username, password).
36+ * Return an ebean Database builder for the EXTRA database.
37+ * <p>
38+ * This is set to not register with Ebean's io.ebean.DB.
3639 */
37- io .ebean .datasource . DataSourceBuilder extraDataSourceBuilder ();
40+ io .ebean .DatabaseBuilder extraDatabaseBuilder ();
3841
3942 /**
40- * Return a DataSource builder for the second extra database (url, username, password).
43+ * Return a DataSource builder for the extra database (url, username, password).
4144 */
42- io .ebean .datasource .DataSourceBuilder extra2DataSourceBuilder ();
45+ io .ebean .datasource .DataSourceBuilder extraDataSourceBuilder ();
4346
4447 /**
45- * Return an ebean Database builder for the EXTRA database.
48+ * Return an ebean Database builder for the second EXTRA2 database.
49+ * <p>
50+ * This is set to not register with Ebean's io.ebean.DB.
4651 */
47- io .ebean .DatabaseBuilder extraDatabaseBuilder ();
52+ io .ebean .DatabaseBuilder extra2DatabaseBuilder ();
4853
4954 /**
50- * Return an ebean Database builder for the second EXTRA2 database.
55+ * Return a DataSource builder for the second extra database (url, username, password) .
5156 */
52- io .ebean .DatabaseBuilder extra2DatabaseBuilder ();
57+ io .ebean .datasource .DataSourceBuilder extra2DataSourceBuilder ();
58+
5359}
0 commit comments