Code example for Connection

Methods: getAutoCommit

0
	 * @throws ServerException 
	 */ 
	private void connect() throws SQLException, ServerException { 
		dbManager.connect();
		dbConnection = dbManager.getConnection();
		defaultAutoCommitValue = dbConnection.getAutoCommit();
		dbConnection.setAutoCommit(false);
	} 
	 
	/** 
	 *  
	 * @throws SQLException 
	 * @throws ServerException 
	 */ 
	private void disconnect() throws SQLException, ServerException { 
		dbConnection.setAutoCommit(defaultAutoCommitValue);
		dbManager.disconnect();
		dbConnection = null;
	} 
} 
Connect your IDE to all the code out there  Get Codota for Java