Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

E28847-01


org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl
Class SqlStmtType

java.lang.Object
  extended by org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.TypeClass
      extended by org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.SqlType
          extended by org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.SqlStmtType


public class SqlStmtType
extends SqlType

Field Summary
protected  java.util.List<ProcedureMethod> m_methods
           
static java.sql.ResultSet rset
           

 

Fields inherited from class org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.SqlType
CODE_OPAQUE, CODE_SQLJTYPE, m_isReused, m_parentType, m_reflector, m_version, m_viewCache, ORACLE_TYPES_BOOLEAN, ORACLE_TYPES_NCHAR, ORACLE_TYPES_NCLOB, ORACLE_TYPES_TBD, SQLJTYPE_BOTH, SQLJTYPE_BOTH8I, SQLJTYPE_CUSTOMDATUM, SQLJTYPE_ORADATA, SQLJTYPE_SERIALIZABLE, SQLJTYPE_SQLDATA

 

Fields inherited from class org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.TypeClass
m_annotation, m_hint, m_isPrimitive, m_name, m_namedTranslations, m_typecode

 

Constructor Summary
SqlStmtType(SqlName sqlName, SqlReflector reflector)
           

 

Method Summary
protected  boolean acceptMethod(ProcedureMethod method)
           
protected static void closeResultSet(java.sql.ResultSet ps)
           
protected static void closeStatement(java.sql.PreparedStatement ps)
           
 java.util.List<ProcedureMethod> getDeclaredMethods()
          Returns an array of Method objects reflecting all the methods declared by this SqlTypeWithMethods object.
 int getModifiers()
          Returns the modifiers for this type, encoded in an integer.
 boolean hasMethods()
           
 boolean isSqlStmt()
           

 

Methods inherited from class org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.SqlType
accept, addAttribute, dependsOn, getAttributes, getBothConversions, getConversionFunDecl, getConversionPL2SQLFunBody, getConversionSQL2PLFunBody, getIntoConversion, getIntoConversionQualified, getIntoConvStmts, getOutOfConversion, getOutOfConversionQualified, getOutOfConvStmts, getSqljKind, getSqlName, getSqlTypeDecl, getSqlTypeDrop, getTargetTypeName, getTargetTypeName, getTypeName, getVersion, hasConversion, isCollection, isJavaStruct, isOpaque, isPlsqlRecord, isPlsqlTable, isRef, isSqlStatement, isStruct, setVersion

 

Methods inherited from class org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.TypeClass
equals, getAnnotation, getComponentType, getDeclaredFields, getFields, getHint, getJdbcTypecode, getName, getNamedTranslations, getNameObject, getSupertype, getTypecode, hashCode, isArray, isObject, isPackage, isPrimitive, isTable, setAnnotation, setHint, setNamedTranslations, setNameObject, setTypecode, toString

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait

 

Field Detail

rset

public static java.sql.ResultSet rset

m_methods

protected java.util.List<ProcedureMethod> m_methods

Constructor Detail

SqlStmtType

SqlStmtType(SqlName sqlName,
            SqlReflector reflector)
      throws java.sql.SQLException
Throws:
java.sql.SQLException

Method Detail

isSqlStmt

public boolean isSqlStmt()

getDeclaredMethods

public java.util.List<ProcedureMethod> getDeclaredMethods()
Returns an array of Method objects reflecting all the methods declared by this SqlTypeWithMethods object. Returns an array of length 0 if the SqlTypeWithMethods declares no methods
Overrides:
getDeclaredMethods in class TypeClass

acceptMethod

protected boolean acceptMethod(ProcedureMethod method)

getModifiers

public int getModifiers()
                 throws java.sql.SQLException
Returns the modifiers for this type, encoded in an integer. The modifiers currently in use are: public (always set) final abstract incomplete The modifiers are decoded using the methods of java.lang.reflect.Modifier. If we ever need additional modifiers for C++, we can subclass this.
Overrides:
getModifiers in class TypeClass
Throws:
java.sql.SQLException

closeResultSet

protected static void closeResultSet(java.sql.ResultSet ps)

closeStatement

protected static void closeStatement(java.sql.PreparedStatement ps)

hasMethods

public boolean hasMethods()
                   throws java.sql.SQLException,
                          PublisherException
Overrides:
hasMethods in class TypeClass
Throws:
java.sql.SQLException
PublisherException

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.