Code example for Connection

Methods: close, commit

0
	@Override 
	public void Commit() 
	{ 
		try 
		{ 
			conn.commit();
			conn.close();
		} 
		catch (SQLException e)
		{ 
			output.outputToConsole(e.getMessage() + Arrays.toString(e.getStackTrace()), Level.SEVERE);
		} 
	} 
 
	@Override 
	public void Rollback() 
	{ 
		try 
		{ 
			conn.rollback();
			conn.close();