Opposite of ResultSetMetaData.getColumnName() ?? Is not: putColumnName()

From: Arnold Peters (apet10_at_hotmail.com)
Date: 10/16/04


Date: Sat, 16 Oct 2004 19:10:51 +0200

As well known I can retrieve the column names by a java code similar to the one below.
But how do I put the column names into the database which I retrieve later?
There is no function like putColumnName()

ResultSetMetaData rsmd = rs.getMetaData();
int maxcol = rsmd.getColumnCount();
for(int col=1; col<=maxcol; col++)
   System.out.println(rsmd.getColumnName(col));

Arni



Relevant Pages