@Test public void getConnectionJdbcUrl() { final String name = "name"; final RealEmbeddedDatabaseCreatorImpl databaseCreator = new RealEmbeddedDatabaseCreatorImpl(false, name, Collections .emptyMap(), Collections .emptyList(), new H2JdbcUrlFactory(), CompatibilityMode.DB2); assertEquals(H2JdbcUrlFactory.H2_IN_MEMORY_JDBC_URL_PREFIX + name + ";MODE=DB2", databaseCreator.getConnectionJdbcUrl()); }
@Override public String getConnectionJdbcUrl() { return jdbcUrlFactory.connectionUrl(getInMemoryDatabaseName(), getJdbcUrlProperties()); }
EmbeddedDatabaseCreatorImpl implements EmbeddedDatabaseCreator { @Override public String getConnectionJdbcUrl() { return jdbcUrlFactory.connectionUrl(getInMemoryDatabaseName(), getJdbcUrlProperties()); } }
EmbeddedDatabaseCreatorImpl implements EmbeddedDatabaseCreator { @Override public String getConnectionJdbcUrl() { return jdbcUrlFactory.connectionUrl(getInMemoryDatabaseName(), getJdbcUrlProperties()); } protected  EmbeddedDatabaseCreatorImpl(final boolean autoCommit,
                                        final String name,
                                        final Map<String, String> jdbcUrlProperties,
                                        final List<InitializationPlugin> initializationPlugins,
                                        final JdbcUrlFactory jdbcUrlFactory,
                                        final CompatibilityMode compatibilityMode); }
EmbeddedDatabaseCreatorImpl implements EmbeddedDatabaseCreator { @Override public String getConnectionJdbcUrl() { return jdbcUrlFactory.connectionUrl(getInMemoryDatabaseName(), getJdbcUrlProperties()); } protected  EmbeddedDatabaseCreatorImpl(final boolean autoCommit,
                                        final String name,
                                        final Map<String, String> jdbcUrlProperties,
                                        final List<InitializationPlugin> initializationPlugins,
                                        final JdbcUrlFactory jdbcUrlFactory,
                                        final CompatibilityMode compatibilityMode); @Override Connection getConnection(); @Override DataSource getDataSource(); @Override boolean isAutoCommit(); @Override String getConnectionJdbcUrl(); }
EmbeddedDatabaseCreatorImpl implements EmbeddedDatabaseCreator { @Override public String getConnectionJdbcUrl() { return jdbcUrlFactory.connectionUrl(getInMemoryDatabaseName(), getJdbcUrlProperties()); } protected  EmbeddedDatabaseCreatorImpl(final boolean autoCommit,
                                        final String name,
                                        final Map<String, String> jdbcUrlProperties,
                                        final List<InitializationPlugin> initializationPlugins,
                                        final JdbcUrlFactory jdbcUrlFactory,
                                        final CompatibilityMode compatibilityMode); @Override Connection getConnection(); @Override DataSource getDataSource(); @Override boolean isAutoCommit(); @Override String getConnectionJdbcUrl();  }