Uses of Class
net.sourceforge.jtds.jdbc.ParamInfo
Packages that use ParamInfo
-
Uses of ParamInfo in net.sourceforge.jtds.jdbc
Fields in net.sourceforge.jtds.jdbc declared as ParamInfoModifier and TypeFieldDescriptionprivate static final ParamInfo[]TdsCore.EMPTY_PARAMETER_INFOUsed to optimize theTdsCore.getParameters()callprotected ParamInfo[]CachedResultSet.insertRowBuffer row used for inserts.private ParamInfo[]MSCursorResultSet.insertRowThe "insert row".private final ParamInfoMSCursorResultSet.PARAM_CURSOR_HANDLECursor handle parameter.private final ParamInfoMSCursorResultSet.PARAM_FETCHTYPEsp_cursorfetchfetchtype parameter.private final ParamInfoMSCursorResultSet.PARAM_NUMROWS_INsp_cursorfetchnumrows IN parameter (for actual fetches).private final ParamInfoMSCursorResultSet.PARAM_NUMROWS_OUTsp_cursorfetchnumrows OUT parameter (for FETCH_INFO).private final ParamInfoMSCursorResultSet.PARAM_OPTYPEsp_cursoroptype parameter.private final ParamInfoMSCursorResultSet.PARAM_ROWNUMsp_cursorrownum parameter.private final ParamInfoMSCursorResultSet.PARAM_ROWNUM_INsp_cursorfetchrownum IN parameter (for actual fetches).private final ParamInfoMSCursorResultSet.PARAM_ROWNUM_OUTsp_cursorfetchrownum OUT parameter (for FETCH_INFO).private final ParamInfoMSCursorResultSet.PARAM_TABLEsp_cursortable parameter.private final ParamInfo[]ParameterMetaDataImpl.parameterListprotected ParamInfo[]JtdsPreparedStatement.parametersThe parameter list for the call.private ParamInfo[]TdsCore.parametersThe array of parameter meta data objects for the current procedure call.protected ParamInfo[]JtdsPreparedStatement.paramMetaDataThe cached parameter meta data.private ParamInfo[]ProcEntry.paramMetaDataParameter meta data (Sybase only).protected final ParamInfo[]CachedResultSet.procedureParamsOriginal parameters.private ParamInfoTdsCore.returnParamThe return parameter meta data object for the current procedure call.protected ParamInfo[]CachedResultSet.updateRowThe "update" row.private ParamInfo[]MSCursorResultSet.updateRowThe "update row".Methods in net.sourceforge.jtds.jdbc that return ParamInfoModifier and TypeMethodDescriptionprotected static ParamInfoCachedResultSet.buildParameter(int pos, ColInfo info, Object value, boolean isUnicode) Creates a parameter object for an UPDATE, DELETE or INSERT statement.(package private) ParamInfo[]CachedResultSet.buildWhereClause(StringBuilder sql, ArrayList params, boolean select) Builds a WHERE clause for UPDATE or DELETE statements.protected ParamInfoJtdsPreparedStatement.getParameter(int parameterIndex) Check the supplied index and return the selected parameter.private ParamInfoParameterMetaDataImpl.getParameter(int param) (package private) ParamInfo[]TdsCore.getParameters()Retrieve the parameter meta data from a Sybase prepare.ProcEntry.getParamMetaData()Retrieves the parameter meta data array.Methods in net.sourceforge.jtds.jdbc with parameters of type ParamInfoModifier and TypeMethodDescriptionprivate voidSupport general cursor operations such as delete, update etc.private voidMSCursorResultSet.cursorCreate(String sql, String procName, ParamInfo[] parameters) Create a new Cursor result set using the internal sp_cursoropen procedure.protected booleanJtdsStatement.executeSQL(String sql, String spName, ParamInfo[] params, boolean update, boolean useCursor) Executes any type of SQL.(package private) voidTdsCore.executeSQL(String sql, String procName, ParamInfo[] parameters, boolean noMetaData, int timeOut, int maxRows, int maxFieldSize, boolean sendNow) Send an SQL statement with optional parameters to the server.private voidTdsCore.executeSQL42(String sql, String procName, ParamInfo[] parameters, boolean noMetaData, boolean sendNow) Execute SQL using TDS 4.2 protocol.private voidTdsCore.executeSQL50(String sql, String procName, ParamInfo[] parameters) Execute SQL using TDS 5.0 protocol.private voidTdsCore.executeSQL70(String sql, String procName, ParamInfo[] parameters, boolean noMetaData, boolean sendNow) Execute SQL using TDS 7.0 protocol.protected ResultSetJtdsStatement.executeSQLQuery(String sql, String spName, ParamInfo[] params, boolean useCursor) Executes SQL to obtain a result set.(package private) static voidTdsData.getNativeType(JtdsConnection connection, ParamInfo pi) Retrieve the TDS native type code for the parameter.(package private) static StringSupport.getParameterDefinitions(ParamInfo[] parameters) Constructs a parameter definition string for use with sp_executesql, sp_prepare, sp_prepexec, sp_cursoropen, sp_cursorprepare and sp_cursorprepexec.(package private) static StringSupport.getStatementKey(String sql, ParamInfo[] params, int serverType, String catalog, boolean autoCommit, boolean cursor) Generates a unique statement key for a given SQL statement.(package private) static intTdsData.getTds5ParamSize(String charset, boolean isWideChar, ParamInfo pi, boolean useParamNames) Calculate the size of the parameter descriptor array for TDS 5 packets.(package private) StringTdsCore.microsoftPrepare(String sql, ParamInfo[] params, boolean needCursor, int resultSetType, int resultSetConcurrency) Prepares the SQL for use with Microsoft server.(package private) StringJtdsConnection.prepareSQL(JtdsPreparedStatement pstmt, String sql, ParamInfo[] params, boolean returnKeys, boolean cursorNeeded) Try to convert the SQL statement into a statement prepare.(package private) static voidTdsData.putCollation(RequestStream out, ParamInfo pi) TDS 8 requires collation information for char data descriptors.(package private) voidJtdsPreparedStatement.setParamMetaData(ParamInfo[] value) Update the cached parameter meta data information.voidProcEntry.setParamMetaData(ParamInfo[] paramMetaData) Sets the parameter meta data.(package private) static StringSupport.substituteParameters(String sql, ParamInfo[] list, JtdsConnection connection) Substitute actual data for the parameter markers to simulate parameter substitution in a PreparedStatement.(package private) static StringSupport.substituteParamMarkers(String sql, ParamInfo[] list) Update the SQL string and replace the ? markers with parameter names eg @P0, @P1 etc.(package private) StringTdsCore.sybasePrepare(String sql, ParamInfo[] params) Creates a light weight stored procedure on a Sybase server.(package private) static voidTdsData.writeParam(RequestStream out, CharsetInfo charsetInfo, byte[] collation, ParamInfo pi) Write a parameter to the server request stream.(package private) static voidTdsData.writeTds5Param(RequestStream out, CharsetInfo charsetInfo, ParamInfo pi) Write the actual TDS 5 parameter data.(package private) static voidTdsData.writeTds5ParamFmt(RequestStream out, String charset, boolean isWideChar, ParamInfo pi, boolean useParamNames) Write a TDS 5 parameter format descriptor.Constructors in net.sourceforge.jtds.jdbc with parameters of type ParamInfoModifierConstructorDescription(package private)CachedResultSet(JtdsStatement statement, String sql, String procName, ParamInfo[] procedureParams, int resultSetType, int concurrency) Constructs a new cached result set.(package private)MSCursorResultSet(JtdsStatement statement, String sql, String procName, ParamInfo[] procedureParams, int resultSetType, int concurrency) Construct a cursor result set using Microsoft sp_cursorcreate etc.ParameterMetaDataImpl(ParamInfo[] parameterList, JtdsConnection connection)