|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.model.POResultSet<T>
public class POResultSet<T extends PO>
Simple wrapper over jdbc resultset
| Constructor Summary | |
|---|---|
POResultSet(MTable table,
PreparedStatement ps,
ResultSet rs,
String trxName)
Constructs the POResultSet. |
|
| Method Summary | |
|---|---|
void |
close()
Release database resources. |
boolean |
hasNext()
|
boolean |
isCloseOnError()
Will be the PreparedStatement and ResultSet closed on any database exception |
T |
next()
|
void |
setCloseOnError(boolean closeOnError)
Should we automatically close the PreparedStatement and ResultSet in case
we get an error. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public POResultSet(MTable table,
PreparedStatement ps,
ResultSet rs,
String trxName)
table - ps - rs - trxName - | Method Detail |
|---|
public boolean hasNext()
throws DBException
DBException
public T next()
throws DBException
DBExceptionpublic void setCloseOnError(boolean closeOnError)
PreparedStatement and ResultSet in case
we get an error.
closeOnError - public boolean isCloseOnError()
PreparedStatement and ResultSet closed on any database exception
public void close()
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||