|
JAPI 0.9.0 Yet another Java API API Documentation |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.japi.sql.SQLHelper
public class SQLHelper
A Helper Class to make work with JDBC less painful in some situations.
| Constructor Summary | |
|---|---|
SQLHelper()
|
|
| Method Summary | |
|---|---|
static String[] |
getColumnLabels(ResultSet rs)
Get a ResultSet's Column Labels. |
static String[] |
getColumnNames(ResultSet rs)
Get a ResultSet's Column Names. |
static Object[][] |
getData(ResultSet rs)
Get a ResultSet's result. |
static int |
getRowCount(ResultSet rs)
Get a ResultSet's size. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SQLHelper()
| Method Detail |
|---|
public static String[] getColumnNames(ResultSet rs)
throws SQLException
rs - ResultSet
SQLException - on SQL problems
public static String[] getColumnLabels(ResultSet rs)
throws SQLException
rs - ResultSet
SQLException - on SQL problems
public static Object[][] getData(ResultSet rs)
throws SQLException
rs - ResultSet
SQLException - on SQL problems
public static int getRowCount(ResultSet rs)
throws SQLException
rs - ResultSet
SQLException - on SQL problems
|
JAPI Yet another Java API API Documentation |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||