java/sql-dk/src/info/globalcode/sql/dk/configuration/DatabaseDefinition.java
branchv_0
changeset 188 54bacc7ed42b
parent 184 53fb05ce504c
child 194 629c9c7eab01
equal deleted inserted replaced
187:65d1eb327cb1 188:54bacc7ed42b
    85 	}
    85 	}
    86 
    86 
    87 	/**
    87 	/**
    88 	 * @param properties ad-hoc properties from CLI options (for the JDBC driver)
    88 	 * @param properties ad-hoc properties from CLI options (for the JDBC driver)
    89 	 * @param jmxBean JMX management bean for progress reporting | null = disable JMX
    89 	 * @param jmxBean JMX management bean for progress reporting | null = disable JMX
       
    90 	 * @return 
       
    91 	 * @throws java.sql.SQLException
    90 	 */
    92 	 */
    91 	public DatabaseConnection connect(Properties properties, ConnectionManagement jmxBean) throws SQLException {
    93 	public DatabaseConnection connect(Properties properties, ConnectionManagement jmxBean) throws SQLException {
    92 		return new DatabaseConnection(this, properties, jmxBean);
    94 		return new DatabaseConnection(this, properties, jmxBean);
    93 	}
    95 	}
    94 
    96 
    95 	/**
    97 	/**
       
    98 	 * @param properties
       
    99 	 * @return 
       
   100 	 * @throws java.sql.SQLException
    96 	 * @see #connect(info.globalcode.sql.dk.configuration.Properties, java.lang.String)
   101 	 * @see #connect(info.globalcode.sql.dk.configuration.Properties, java.lang.String)
    97 	 * With disabled JMX reporting.
   102 	 * With disabled JMX reporting.
    98 	 */
   103 	 */
    99 	public DatabaseConnection connect(Properties properties) throws SQLException {
   104 	public DatabaseConnection connect(Properties properties) throws SQLException {
   100 		return new DatabaseConnection(this, properties, null);
   105 		return new DatabaseConnection(this, properties, null);