Chapter 1: Java Classes and Interfaces  com.sybase.CORBA.jdbc11.IdlResultSet

Chapter 1: Java Classes and Interfaces

com.sybase.CORBA.jdbc11.IDL class

Description

package com.sybase.CORBA.jdbc11;
public abstract class IDL

Provides methods to convert core Java datatypes to EAServer’s predefined CORBA IDL datatypes.

Constructors

None. All methods are static.

Methods

See also

com.sybase.CORBA.jdbc11.SQL class




IDL.getDate(java.sql.Date)

Description

Converts a java.sql.Date object to an equivalent MJD::Date CORBA IDL object.

Syntax

Package

com.sybase.CORBA.jdbc11

Class

IDL

public static MJD.Date getDate(java.sql.Date value)

Parameters

value

A java.sql.Date value to be converted.

Returns

The value converted to an equivalent CORBA IDL MJD::Date value.

See also

getTime(java.sql.Time), getTimestamp(java.sql.Timestamp), SQL.getDate(MJD.Date)




IDL.getDecimal(java.math.BigDecimal)

Description

Converts a BigDecimal object to an equivalent BCD::Decimal CORBA IDL object.

Syntax

Package

com.sybase.CORBA.jdbc11

Class

IDL

public static BCD.Decimal
        getDecimal(java.math.BigDecimal value) 
        throws org.omg.CORBA.DATA_CONVERSION

Parameters

value

A java.math.BigDecimal value to be converted.

Returns

The value converted to an equivalent CORBA IDL BCD::Decimal value.

See also

getMoney(java.math.BigDecimal), SQL.getBigDecimal(BCD.Decimal)




IDL.getMoney(java.math.BigDecimal)

Description

Converts a BigDecimal object to an equivalent BCD::Money CORBA IDL object.

Syntax

Package

com.sybase.CORBA.jdbc11

Class

IDL

public static BCD.Money getMoney(
         java.math.BigDecimal value) 
        throws org.omg.CORBA.DATA_CONVERSION

Parameters

value

A java.math.BigDecimal value to be converted.

Returns

The value converted to an equivalent CORBA IDL BCD::Money value.

See also

getDecimal(java.math.BigDecimal), SQL.getBigDecimal(BCD.Money)




IDL.getResultSet(java.sql.ResultSet)

Description

Converts a java.sql.ResultSet object to an equivalent TabularResults::ResultSet CORBA IDL object.

Syntax

Package

com.sybase.CORBA.jdbc11

Class

IDL

public static MJD.ResultSet
        getResultSet( java.sql.ResultSet rs)

Parameters

rs

A java.sql.ResultSet value to be converted.

Returns

The value converted to an equivalent CORBA IDL TabularResults::ResultSet value.

See also

SQL.getResultSet(TabularResults.ResultSet)




IDL.getTime(java.sql.Time)

Description

Converts a java.sql.Time object to an equivalent MJD::Time CORBA IDL object.

Syntax

Package

com.sybase.CORBA.jdbc11

Class

IDL

public static MJD.Time getTime(java.sql.Time value)

Parameters

value

A java.sql.Time value to be converted.

Returns

The value converted to an equivalent CORBA IDL MJD::Time value.

See also

getDate(java.sql.Date), getTimestamp(java.sql.Timestamp), SQL.getTime(MJD.Time)




IDL.getTimestamp(java.sql.Timestamp)

Description

Converts a java.sql.Timestamp object to an equivalent MJD::Timestamp CORBA IDL object.

Syntax

Package

com.sybase.CORBA.jdbc11

Class

IDL

public static MJD.Timestamp
        getTimestamp( java.sql.Timestamp value)

Parameters

value

A java.sql.Timestamp value to be converted.

Returns

The value converted to an equivalent CORBA IDL MJD::Timestamp value.

See also

getDate(java.sql.Date), getTime(java.sql.Time), SQL.getTimestamp(MJD.Timestamp)





Copyright © 2005. Sybase Inc. All rights reserved. com.sybase.CORBA.jdbc11.IdlResultSet