uPortal 2.4.1
API Documentation

org.jasig.portal
Class RDBMServices.PreparedStatement

java.lang.Object
  extended byorg.jasig.portal.RDBMServices.PreparedStatement
Enclosing class:
RDBMServices

public static final class RDBMServices.PreparedStatement
extends java.lang.Object

Wrapper for/Emulator of PreparedStatement class


Constructor Summary
RDBMServices.PreparedStatement(java.sql.Connection con, java.lang.String query)
           
 
Method Summary
 void clearParameters()
           
 void close()
           
 java.sql.ResultSet executeQuery()
           
 int executeUpdate()
           
 void setDate(int index, java.sql.Date value)
           
 void setInt(int index, int value)
           
 void setNull(int index, int sqlType)
           
 void setString(int index, java.lang.String value)
           
 void setTimestamp(int index, java.sql.Timestamp value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RDBMServices.PreparedStatement

public RDBMServices.PreparedStatement(java.sql.Connection con,
                                      java.lang.String query)
                               throws java.sql.SQLException
Method Detail

clearParameters

public void clearParameters()
                     throws java.sql.SQLException
Throws:
java.sql.SQLException

setDate

public void setDate(int index,
                    java.sql.Date value)
             throws java.sql.SQLException
Throws:
java.sql.SQLException

setInt

public void setInt(int index,
                   int value)
            throws java.sql.SQLException
Throws:
java.sql.SQLException

setNull

public void setNull(int index,
                    int sqlType)
             throws java.sql.SQLException
Throws:
java.sql.SQLException

setString

public void setString(int index,
                      java.lang.String value)
               throws java.sql.SQLException
Throws:
java.sql.SQLException

setTimestamp

public void setTimestamp(int index,
                         java.sql.Timestamp value)
                  throws java.sql.SQLException
Throws:
java.sql.SQLException

executeQuery

public java.sql.ResultSet executeQuery()
                                throws java.sql.SQLException
Throws:
java.sql.SQLException

executeUpdate

public int executeUpdate()
                  throws java.sql.SQLException
Throws:
java.sql.SQLException

toString

public java.lang.String toString()

close

public void close()
           throws java.sql.SQLException
Throws:
java.sql.SQLException

uPortal 2.4.1
API Documentation