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_INFO
Used to optimize theTdsCore.getParameters()
callprotected ParamInfo[]
CachedResultSet.insertRow
Buffer row used for inserts.private ParamInfo[]
MSCursorResultSet.insertRow
The "insert row".private final ParamInfo
MSCursorResultSet.PARAM_CURSOR_HANDLE
Cursor handle parameter.private final ParamInfo
MSCursorResultSet.PARAM_FETCHTYPE
sp_cursorfetch
fetchtype parameter.private final ParamInfo
MSCursorResultSet.PARAM_NUMROWS_IN
sp_cursorfetch
numrows IN parameter (for actual fetches).private final ParamInfo
MSCursorResultSet.PARAM_NUMROWS_OUT
sp_cursorfetch
numrows OUT parameter (for FETCH_INFO).private final ParamInfo
MSCursorResultSet.PARAM_OPTYPE
sp_cursor
optype parameter.private final ParamInfo
MSCursorResultSet.PARAM_ROWNUM
sp_cursor
rownum parameter.private final ParamInfo
MSCursorResultSet.PARAM_ROWNUM_IN
sp_cursorfetch
rownum IN parameter (for actual fetches).private final ParamInfo
MSCursorResultSet.PARAM_ROWNUM_OUT
sp_cursorfetch
rownum OUT parameter (for FETCH_INFO).private final ParamInfo
MSCursorResultSet.PARAM_TABLE
sp_cursor
table parameter.private final ParamInfo[]
ParameterMetaDataImpl.parameterList
protected ParamInfo[]
JtdsPreparedStatement.parameters
The parameter list for the call.private ParamInfo[]
TdsCore.parameters
The array of parameter meta data objects for the current procedure call.protected ParamInfo[]
JtdsPreparedStatement.paramMetaData
The cached parameter meta data.private ParamInfo[]
ProcEntry.paramMetaData
Parameter meta data (Sybase only).protected final ParamInfo[]
CachedResultSet.procedureParams
Original parameters.private ParamInfo
TdsCore.returnParam
The return parameter meta data object for the current procedure call.protected ParamInfo[]
CachedResultSet.updateRow
The "update" row.private ParamInfo[]
MSCursorResultSet.updateRow
The "update row".Methods in net.sourceforge.jtds.jdbc that return ParamInfoModifier and TypeMethodDescriptionprotected static ParamInfo
CachedResultSet.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 ParamInfo
JtdsPreparedStatement.getParameter
(int parameterIndex) Check the supplied index and return the selected parameter.private ParamInfo
ParameterMetaDataImpl.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 void
Support general cursor operations such as delete, update etc.private void
MSCursorResultSet.cursorCreate
(String sql, String procName, ParamInfo[] parameters) Create a new Cursor result set using the internal sp_cursoropen procedure.protected boolean
JtdsStatement.executeSQL
(String sql, String spName, ParamInfo[] params, boolean update, boolean useCursor) Executes any type of SQL.(package private) void
TdsCore.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 void
TdsCore.executeSQL42
(String sql, String procName, ParamInfo[] parameters, boolean noMetaData, boolean sendNow) Execute SQL using TDS 4.2 protocol.private void
TdsCore.executeSQL50
(String sql, String procName, ParamInfo[] parameters) Execute SQL using TDS 5.0 protocol.private void
TdsCore.executeSQL70
(String sql, String procName, ParamInfo[] parameters, boolean noMetaData, boolean sendNow) Execute SQL using TDS 7.0 protocol.protected ResultSet
JtdsStatement.executeSQLQuery
(String sql, String spName, ParamInfo[] params, boolean useCursor) Executes SQL to obtain a result set.(package private) static void
TdsData.getNativeType
(JtdsConnection connection, ParamInfo pi) Retrieve the TDS native type code for the parameter.(package private) static String
Support.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 String
Support.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 int
TdsData.getTds5ParamSize
(String charset, boolean isWideChar, ParamInfo pi, boolean useParamNames) Calculate the size of the parameter descriptor array for TDS 5 packets.(package private) String
TdsCore.microsoftPrepare
(String sql, ParamInfo[] params, boolean needCursor, int resultSetType, int resultSetConcurrency) Prepares the SQL for use with Microsoft server.(package private) String
JtdsConnection.prepareSQL
(JtdsPreparedStatement pstmt, String sql, ParamInfo[] params, boolean returnKeys, boolean cursorNeeded) Try to convert the SQL statement into a statement prepare.(package private) static void
TdsData.putCollation
(RequestStream out, ParamInfo pi) TDS 8 requires collation information for char data descriptors.(package private) void
JtdsPreparedStatement.setParamMetaData
(ParamInfo[] value) Update the cached parameter meta data information.void
ProcEntry.setParamMetaData
(ParamInfo[] paramMetaData) Sets the parameter meta data.(package private) static String
Support.substituteParameters
(String sql, ParamInfo[] list, JtdsConnection connection) Substitute actual data for the parameter markers to simulate parameter substitution in a PreparedStatement.(package private) static String
Support.substituteParamMarkers
(String sql, ParamInfo[] list) Update the SQL string and replace the ? markers with parameter names eg @P0, @P1 etc.(package private) String
TdsCore.sybasePrepare
(String sql, ParamInfo[] params) Creates a light weight stored procedure on a Sybase server.(package private) static void
TdsData.writeParam
(RequestStream out, CharsetInfo charsetInfo, byte[] collation, ParamInfo pi) Write a parameter to the server request stream.(package private) static void
TdsData.writeTds5Param
(RequestStream out, CharsetInfo charsetInfo, ParamInfo pi) Write the actual TDS 5 parameter data.(package private) static void
TdsData.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)