|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jdon.model.query.JdbcUtil
public class JdbcUtil
| Constructor Summary | |
|---|---|
JdbcUtil()
|
|
| Method Summary | |
|---|---|
java.util.List |
extract(java.sql.ResultSet rs)
return a List in the List, every object is a map, by database column name, we can get the its result from map |
void |
setQueryParams(java.util.Collection queryParams,
java.sql.PreparedStatement ps)
queryParam type only support String Integer Float or Long Double Bye Short if you need operate other types, you must use JDBC directly! |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JdbcUtil()
| Method Detail |
|---|
public void setQueryParams(java.util.Collection queryParams,
java.sql.PreparedStatement ps)
throws java.lang.Exception
java.lang.Exception
public java.util.List extract(java.sql.ResultSet rs)
throws java.lang.Exception
rs - ResultSet
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||