MySQL & mSQL

         

Возвращает значение параметра, заданного аргументом


boolean getBoolean(int index) throws SQLException;
byte getByte(int index) throws SQLException;
byte[] getBytes(int index) throws SQLException;
Clob getClob(int-index), throws SQLException;
Java.sql.Date getDate(int index, Calendar cal)

throws SQLException; Java.sql.Date getDate(int index)
throws SQLException;

double getDouble(int index) throws SQLExceptlon;
float getFloat(int index) throws SQLException;
int getlnt(int index) throws SQLException;
long getLong(int index) throws SQLException;
Object getObject(int index) throws SQLException;
Object getObject(int index, Map map)

throws SQLException;

Ref getRef(int index) throws SQLException;
short getShort(int index) throws SQLException;
String getString(int index) throws SQLException;
Java.sql.Time getTime(int index) throws SQLException;
Java.sql.Time getTime(int index, Calendar cal)

throws SQLException; Java.sql.Timestamp getTimestamp(int index)

throws SQLException; Java.sql.Timestamp getTimestamp(int index,

Calendar cal)

throws SQLException; void registerOutParameter(int index, int type)

throws SQLException;

void registerOutParameter(int index, int type,

int scale)

throws SQLException;

void registerOutParameter(int index, int type,

String typename)

throws SQLException; boolean wasNull() throws SQLException; }

Методы объекта

get BigDecimal( )

public BigDecimal getBigDecimal(int index)

throws SQLException
#public BigDecimal getBigDecimal(int index, int scale)

throws SQLException

Описание. Возвращает значение параметра, заданного аргументом index, как тип Java BigDecimal с масштабом, определяемым аргументом scale. Масштаб есть неотрицательное число, задающее количество цифр правее десятичной точки. Параметры нумеруются с 1, поэтому для первого параметра index равен 1.

getArray(), getBlobf), getBoolean(), getByte(), getBytes(), getClob(), getDouble(), getFloat(), getlnt(), getLongf), getRef(), getShort() и get-String()

public Array getArray(int index)

throws SQLException

Содержание  Назад  Вперед







Forekc.ru
Рефераты, дипломы, курсовые, выпускные и квалификационные работы, диссертации, учебники, учебные пособия, лекции, методические пособия и рекомендации, программы и курсы обучения, публикации из профильных изданий