Skip navigation links
org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl
Class QueryMethod
java.lang.Object
org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.ProcedureMethod
org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.SqlStmtMethod
org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.QueryMethod
- All Implemented Interfaces:
- java.lang.Comparable<ProcedureMethod>, CursorMethod
-
public class QueryMethod
- extends SqlStmtMethod
- implements CursorMethod
A Method provides information about a single method this method executes a SQL statement
Fields inherited from class org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.ProcedureMethod |
ALL, IN, INOUT, m_hasDefault, m_keepMethodName, m_modifiers, m_name, m_overloadNumber, m_paramDefaults, m_paramModes, m_paramNames, m_paramTypes, m_returnType, OUT, RETURN |
Constructor Summary |
QueryMethod(java.lang.String methodName, int modifiers, java.lang.String sqlStmt, boolean returnBeans, SqlStmtType sqlStmtType, SqlReflector reflector)
Construct a Method that is a query that returns java.lang.ResultSet or Beans |
Methods inherited from class org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.ProcedureMethod |
accept, compareTo, getModifiers, getName, getParamDefaults, getParamModes, getParamNames, getParamTypes, getReturnType, getSortingKey, getSqlStatement, hasDefault, keepMethodName, setKeepMethodName, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
m_resultIterTypeName
protected java.lang.String m_resultIterTypeName
m_singleColName
protected java.lang.String m_singleColName
m_returnBeans
protected boolean m_returnBeans
m_returnEleType
protected TypeClass m_returnEleType
QueryMethod
public QueryMethod(java.lang.String methodName,
int modifiers,
java.lang.String sqlStmt,
boolean returnBeans,
SqlStmtType sqlStmtType,
SqlReflector reflector)
throws java.sql.SQLException,
PublisherException
- Construct a Method that is a query that returns java.lang.ResultSet or Beans
- Throws:
java.sql.SQLException
PublisherException
getResultIterTypeName
public java.lang.String getResultIterTypeName()
getReturnEleType
public TypeClass getReturnEleType()
-
- Specified by:
getReturnEleType
in interface CursorMethod
isSingleCol
public boolean isSingleCol()
-
- Specified by:
isSingleCol
in interface CursorMethod
singleColName
public java.lang.String singleColName()
-
- Specified by:
singleColName
in interface CursorMethod
returnBeans
public boolean returnBeans()
-
- Specified by:
returnBeans
in interface CursorMethod
returnResultSet
public boolean returnResultSet()
-
- Specified by:
returnResultSet
in interface CursorMethod
Skip navigation links