hello community
im writing a program which can acces to a mysql table. the program copies the values of the mysql table to my jtable.

now i want to make changes in the jtable. i want that these changes are also updated into the mysql table.

im using the normal changevalueat method at the tablemodel class..

Java Code:
	public void setValueAt(Object aValue, int rowIndex, int columnIndex) {
		values[rowIndex][columnIndex] = aValue.toString();
	
	}
the table model class has acces to my mysql class.
now i need to add some code to make these changes also in the mysql table.
im reading the mysql data with a loop in my msql class

Java Code:
try {			
			rs = st.executeQuery( "SELECT * FROM " + sqlTable );
			ResultSetMetaData rsmd = rs.getMetaData();
			int n = rsmd.getColumnCount();
			collumns = new String[n];
			for( int i=1; i<=n; i++ )    
				collumns[i-1] = rsmd.getColumnName(i);
			values = new Vector[collumns.length];
			for(int j = 0 ; j < collumns.length; j++){
				values[j] = new Vector();
			}
			while( rs.next() ) {
				for( int i=1; i<=n; i++ )  
					values[i-1].put(rs.getString(i));
			}			
		}catch( Exception ex ) {
			System.out.println("Fehler beim kopieren der Tabelle.");
		}finally
how can i write a method which changes directly the values of my changeValueAt method in the mysql table

i have the value the row and the collumn but i dont know a mysql command to change a value with the information of the row and the collumn..



can somebody help me ?

kind regards