test_class.file: database/property/src/test/java/cloud/piranha/database/property/PropertyDriverTest.java
test_class.identifier: PropertyDriverTest
test_case.body: @Test
      void testConnect() throws Exception {
          System.getProperties().put("property.0.url", "jdbc:h2:mem:test");
          Connection connection = DriverManager.getConnection("jdbc:property:0");
          System.getProperties().remove("property.0.url");
          assertNotNull(connection);
      }
test_case.class_method_signature: PropertyDriverTest.testConnect()
test_case.full_signature: @Test void testConnect()
test_case.identifier: testConnect
test_case.invocations: put getProperties getConnection remove getProperties assertNotNull
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void testConnect()
focal_class.file: database/property/src/main/java/cloud/piranha/database/property/PropertyDriver.java
focal_class.identifier: PropertyDriver
focal_class.interfaces: implements Driver
focal_class.class_method_signature: PropertyDriver.PropertyDriver()
focal_class.full_signature: public  PropertyDriver()
focal_class.identifier: PropertyDriver
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  PropertyDriver()
focal_class.class_method_signature: PropertyDriver.connect(String url, Properties info)
focal_class.full_signature: public Connection connect(String url, Properties info)
focal_class.identifier: connect
focal_class.modifiers: public
focal_class.parameters: (String url, Properties info)
focal_class.return: Connection
focal_class.signature: Connection connect(String url, Properties info)
focal_class.class_method_signature: PropertyDriver.acceptsURL(String url)
focal_class.full_signature: public boolean acceptsURL(String url)
focal_class.identifier: acceptsURL
focal_class.modifiers: public
focal_class.parameters: (String url)
focal_class.return: boolean
focal_class.signature: boolean acceptsURL(String url)
focal_class.class_method_signature: PropertyDriver.getPropertyInfo(String url, Properties info)
focal_class.full_signature: public DriverPropertyInfo[] getPropertyInfo(String url, Properties info)
focal_class.identifier: getPropertyInfo
focal_class.modifiers: public
focal_class.parameters: (String url, Properties info)
focal_class.return: DriverPropertyInfo[]
focal_class.signature: DriverPropertyInfo[] getPropertyInfo(String url, Properties info)
focal_class.class_method_signature: PropertyDriver.getMajorVersion()
focal_class.full_signature: public int getMajorVersion()
focal_class.identifier: getMajorVersion
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getMajorVersion()
focal_class.class_method_signature: PropertyDriver.getMinorVersion()
focal_class.full_signature: public int getMinorVersion()
focal_class.identifier: getMinorVersion
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getMinorVersion()
focal_class.class_method_signature: PropertyDriver.jdbcCompliant()
focal_class.full_signature: public boolean jdbcCompliant()
focal_class.identifier: jdbcCompliant
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean jdbcCompliant()
focal_class.class_method_signature: PropertyDriver.getParentLogger()
focal_class.full_signature: public Logger getParentLogger()
focal_class.identifier: getParentLogger
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Logger
focal_class.signature: Logger getParentLogger()
focal_method.body: public Connection connect(String url, Properties info) throws SQLException {
          String name = url.substring("jdbc:property:".length());
          String delegateUrl = null;
          Properties delegateProperties = new Properties();
          for (String key : System.getProperties().stringPropertyNames()) {
              if (key.startsWith("property." + name + ".url")) {
                  delegateUrl = System.getProperty("property." + name + ".url");
              }
          }
          Driver driver = DriverManager.getDriver(delegateUrl);
          return driver.connect(delegateUrl, delegateProperties);
      }
focal_method.class_method_signature: PropertyDriver.connect(String url, Properties info)
focal_method.full_signature: public Connection connect(String url, Properties info)
focal_method.identifier: connect
focal_method.invocations: substring length stringPropertyNames getProperties startsWith getProperty getDriver connect
focal_method.modifiers: public
focal_method.parameters: (String url, Properties info)
focal_method.return: Connection
focal_method.signature: Connection connect(String url, Properties info)