@Test public void testInitialSqlNotNull() { final EmbeddedDatabaseRule embeddedDatabaseRule = EmbeddedDatabaseRule.builder().withName(TEST_NAME).withInitialSql("CREATE TABLE foo(bar int primary key)").build(); assertFalse(embeddedDatabaseRule.getConnectionJdbcUrl().contains("INIT")); }
public static Builder builder() { return h2(); }
EmbeddedDatabaseRule extends EmbeddedDatabaseCreatorImpl implements TestRule { public static Builder builder() { return h2(); } }
EmbeddedDatabaseRule extends EmbeddedDatabaseCreatorImpl implements TestRule { public static Builder builder() { return h2(); } EmbeddedDatabaseRule(); private  EmbeddedDatabaseRule(final boolean autoCommit,
                                 final String name,
                                 final Map<String, String> jdbcUrlProperties,
                                 final List<InitializationPlugin> initializationPlugins,
                                 final JdbcUrlFactory jdbcUrlFactory,
                                 final CompatibilityMode compatibilityMode); }
EmbeddedDatabaseRule extends EmbeddedDatabaseCreatorImpl implements TestRule { public static Builder builder() { return h2(); } EmbeddedDatabaseRule(); private  EmbeddedDatabaseRule(final boolean autoCommit,
                                 final String name,
                                 final Map<String, String> jdbcUrlProperties,
                                 final List<InitializationPlugin> initializationPlugins,
                                 final JdbcUrlFactory jdbcUrlFactory,
                                 final CompatibilityMode compatibilityMode); static Builder builder(); static Builder h2(); static Builder hsqldb(); @Override Statement apply(final Statement base, final Description description); }
EmbeddedDatabaseRule extends EmbeddedDatabaseCreatorImpl implements TestRule { public static Builder builder() { return h2(); } EmbeddedDatabaseRule(); private  EmbeddedDatabaseRule(final boolean autoCommit,
                                 final String name,
                                 final Map<String, String> jdbcUrlProperties,
                                 final List<InitializationPlugin> initializationPlugins,
                                 final JdbcUrlFactory jdbcUrlFactory,
                                 final CompatibilityMode compatibilityMode); static Builder builder(); static Builder h2(); static Builder hsqldb(); @Override Statement apply(final Statement base, final Description description);  }