@Test public void testCanOpenConnection() throws SQLException { try (Connection connection = underTest.getConnection()) { assertThat(connection.getMetaData().getURL(), is("memory:config")); } }
@Override public Connection getConnection() throws SQLException { return orientConnectionProvider.getConnection(); }
ConfigOrientConnectionProvider extends ComponentSupport implements ConnectionProvider { @Override public Connection getConnection() throws SQLException { return orientConnectionProvider.getConnection(); } }
ConfigOrientConnectionProvider extends ComponentSupport implements ConnectionProvider { @Override public Connection getConnection() throws SQLException { return orientConnectionProvider.getConnection(); } @Inject  ConfigOrientConnectionProvider(
      @Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> databaseInstance); }
ConfigOrientConnectionProvider extends ComponentSupport implements ConnectionProvider { @Override public Connection getConnection() throws SQLException { return orientConnectionProvider.getConnection(); } @Inject  ConfigOrientConnectionProvider(
      @Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> databaseInstance); @Override Connection getConnection(); @Override void shutdown(); @Override void initialize(); }
ConfigOrientConnectionProvider extends ComponentSupport implements ConnectionProvider { @Override public Connection getConnection() throws SQLException { return orientConnectionProvider.getConnection(); } @Inject  ConfigOrientConnectionProvider(
      @Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> databaseInstance); @Override Connection getConnection(); @Override void shutdown(); @Override void initialize();  }