If the given row number is negative, the cursor moves to an absolute row position with respect to the end of the result set. For example, calling the methodabsolute(-1)positions the cursor on the last row; calling the methodabsolute(-2)moves the cursor to the next-to-last row, and so...
For the getter methods, a JDBC driver attempts to convert the underlying data to the Java type specified in the getter method and returns a suitable Java value. The JDBC specification has a table showing the allowable mappings from SQL types to Java types that can be used by the ResultSet ...
the value returned from5* getColumnLabel will be the same as the value returned by the6* getColumnName method.7*8*@paramcolumn the first column is 1, the
IResultSet.GetDouble MethodReference Feedback DefinitionNamespace: Java.Sql Assembly: Mono.Android.dll OverloadsРазширяваненатаблица GetDouble(Int32) Retrieves the value of the designated column in the current row of this ResultSet object as a double in the Java ...
IResultSetMetaData.GetSchemaName(Int32) MethodReference Feedback DefinitionNamespace: Java.Sql Assembly: Mono.Android.dll Get the designated column's table's schema. [Android.Runtime.Register("getSchemaName", "(I)Ljava/lang/String;", "GetGetSchemaName_IHandler:Java.Sql.IResultSetMetaDataInvoker...
public java.sql.Array getArray(java.lang.String colName) parameters colName 一个包含列名的字符串 。 返回值 Array 对象。 例外 SQLServerException 备注 此getArray 方法是由 java.sql.ResultSet 接口中的 getArray 方法指定的。 另请参阅 getArray 方法 (SQLServerResultSet) SQLServerResultSet ...
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425) ...
Method Detail getCount public intgetCount() Description copied from interface:ResultSet Get number of result items in this result set Specified by: getCountin interfaceResultSet Returns: number of result items isEmpty public booleanisEmpty() ...
This next method is specified by the next method in the java.sql.ResultSet interface. A result set cursor is initially positioned before the first row. The first call to the next method makes the first row the current row, the second call makes the second row the current row, and so on...
public java.lang.Object getObject(int i, java.util.Map map) Parameters i An int that indicates the column index. map A Map object. Return Value An Object value. Exceptions SQLServerException Remarks This getObject method is specified by the getObject method in the java.sql.ResultSet interface...