This flashcard is just one of a free flashcard set. See all flashcards!
36
Metadaten herausfinden
ResultSetMetaData rsetmeta = rset1.getMetaData();
Dort dann Methoden wie "getColumnCount()" ausführen.
while(rset1.next())
{
for(int i=1; i<=rsetmeta.getColumnCount();i++)
{
System.out.print(rset1.getString(i));
}
System.out.println();
}
Dort dann Methoden wie "getColumnCount()" ausführen.
while(rset1.next())
{
for(int i=1; i<=rsetmeta.getColumnCount();i++)
{
System.out.print(rset1.getString(i));
}
System.out.println();
}