Chapter 1 Java Classes and Interfaces
package com.sybase.CORBA.jdbc11;
public abstract class SQL
Provides methods to convert Jaguar's predefined CORBA IDL datatypes to core Java datatypes.
None. All methods are static.
com.sybase.CORBA.jdbc11.IDL class
Converts a BCD::Decimal CORBA IDL object to an equivalent java.math.BigDecimal.
Package |
|
Class |
public static java.math.BigDecimal
getBigDecimal(BCD.Decimal value)
value
A BCD.Decimal value to be converted.
The value converted to an equivalent java.math.BigDecimal value.
getBigDecimal(BCD.Decimal), getBigDecimal(BCD.Money), IDL.getDecimal(java.math.BigDecimal)
Converts a BCD::Money CORBA IDL object to an equivalent java.math.BigDecimal.
Package |
|
Class |
public static java.math.BigDecimal
getBigDecimal(BCD.Money value)
value
A BCD.Money value to be converted.
The value converted to an equivalent java.math.BigDecimal value.
getBigDecimal(BCD.Decimal), IDL.getMoney(java.math.BigDecimal)
Converts an MJD::Date CORBA IDL object to an equivalent java.sql.Date object.
Package |
|
Class |
public static java.sql.Date getDate(MJD.Date value)
value
An MJD::Date value to be converted.
The value converted to an equivalent java.sql.Date value.
getTime(MJD.Time), getTimestamp(MJD.Timestamp), IDL.getDate(java.sql.Date)
Converts a TabularResults::ResultSet CORBA IDL object to an equivalent java.sql.ResultSet object.
Package |
|
Class |
public static java.sql.ResultSet
getResultSet(TabularResults.ResultSet rs)
rs
A TabularResults.ResultSet object to be converted.
The value converted to an equivalent java.sql.ResultSet value.
IDL.getResultSet(java.sql.ResultSet)
Converts an MJD::Time CORBA IDL object to an equivalent java.sql.Time object.
Package |
|
Class |
public static java.sql.Time getTime(MJD.Time value)
value
An MJD.Time value to be converted.
The value converted to an equivalent java.sql.Time value.
getDate(MJD.Date), getTimestamp(MJD.Timestamp), IDL.getTime(java.sql.Time)
Converts an MJD::Timestamp CORBA IDL object to an equivalent java.sql.Timestamp object.
Package |
|
Class |
public static java.sql.Timestamp
getTimestamp(MJD.Timestamp value)
value
An MJD.Timestamp value to be converted.
The value converted to an equivalent java.sql.Timestamp value.
getDate(MJD.Date), getTime(MJD.Time), IDL.getTimestamp(java.sql.Timestamp)
Copyright © 2000 Sybase, Inc. All rights reserved. |
![]() |