code: public static DB open(String jndiName, Properties jndiProperties) {
          return new DB(DB.DEFAULT_NAME).open(jndiName, jndiProperties);
      }
docs: Opens a new connection from JNDI data source by name using explicit JNDI properties. This method can be used in cases
  when file <code>jndi.properties</code> cannot be easily modified.
  
  @param jndiName name of JNDI data source.
  @param jndiProperties JNDI properties