Hi,

We are using jConnect with JDK 1.0.2.

Although we are importing only the following class files:

import jdbc.sql.Connection;
import jdbc.sql.Statement;
import jdbc.sql.ResultSet;
import jdbc.sql.ResultSetMetaData;
import jdbc.sql.SQLException;
import jdbc.sql.DriverManager;
import jdbc.sybase.utils.Debug;
import jdbc.sql.Timestamp;

we find that all the jConnect classes are being loaded !
Can someone explain why ?


Output in Java Console (with debug level set to 2)
{{{{
.
.
.
.
.
# Find class jdbc.sql.Connection
# Fetching http://opusdev.corp/beta/ui/jdbc/sql/Connection.class
# Find class jdbc.sql.Statement
# Fetching http://opusdev.corp/beta/ui/jdbc/sql/Statement.class
# Find class jdbc.sql.ResultSet
# Fetching http://opusdev.corp/beta/ui/jdbc/sql/ResultSet.class
# Find class jdbc.sql.ResultSetMetaData
# Fetching http://opusdev.corp/beta/ui/jdbc/sql/ResultSetMetaData.class
# Find class jdbc.sql.SQLException
# Fetching http://opusdev.corp/beta/ui/jdbc/sql/SQLException.class
# Find class jdbc.sybase.jdbc.SybDriver
# Fetching http://opusdev.corp/beta/ui/jdbc/sybase/jdbc/SybDriver.class
# Find class jdbc.sql.DriverPropertyInfo
# Fetching http://opusdev.corp/beta/ui/jdbc/sql/DriverPropertyInfo.class
# Find class jdbc.sybase.jdbc.Protocol
# Fetching http://opusdev.corp/beta/ui/jdbc/sybase/jdbc/Protocol.class
# Find class jdbc.sql.Driver
# Fetching http://opusdev.corp/beta/ui/jdbc/sql/Driver.class
Sybase jConnect (TM) for JDBC (TM) 2.1 Development and Unsupported
Version
It is an unsupported product and is not intended for deployment. It
does not include free technical support. You can purchase technical
support on an annual or pay-per-issue basis. Discussion Newsgroup is
available on www.sybase.com. For additional information on services or
run-time license, please check Sybase website or call 1-800-8-SYBASE or
+1-510-922-3500 outside of the USA and Canada.

Copyright 1997 Sybase, Inc.
All Rights Reserved
# Find class jdbc.sybase.jdbc.Const
# Fetching http://opusdev.corp/beta/ui/jdbc/sybase/jdbc/Const.class
# Find class jdbc.sql.DriverManager
# Fetching http://opusdev.corp/beta/ui/jdbc/sql/DriverManager.class
# Find class jdbc.sql.DriverInfo
# Fetching http://opusdev.corp/beta/ui/jdbc/sql/DriverInfo.class
# Find class jdbc.sybase.jdbc.ProtocolManager
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/jdbc/ProtocolManager.class
# Find class jdbc.sybase.jdbc.ProtocolContext
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/jdbc/ProtocolContext.class
# Find class jdbc.sybase.tds.Tds
# Fetching http://opusdev.corp/beta/ui/jdbc/sybase/tds/Tds.class
# Find class jdbc.sybase.timedio.Dbio
# Fetching http://opusdev.corp/beta/ui/jdbc/sybase/timedio/Dbio.class
# Find class jdbc.sybase.tds.PduManager
# Fetching http://opusdev.corp/beta/ui/jdbc/sybase/tds/PduManager.class
# Find class jdbc.sybase.utils.CacheManager
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/utils/CacheManager.class
# Find class jdbc.sybase.tds.TdsDataOutputStream
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/tds/TdsDataOutputStream.class
# Find class jdbc.sybase.tds.PduOutputFormatter
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/tds/PduOutputFormatter.class
# Find class jdbc.sybase.timedio.TimedOutputStream
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/timedio/TimedOutputStream.class
# Find class jdbc.sybase.timedio.TimedInputStream
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/timedio/TimedInputStream.class
# Find class jdbc.sybase.tds.TdsProtocolContext
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/tds/TdsProtocolContext.class
# Find class jdbc.sybase.tds.EedToken
# Fetching http://opusdev.corp/beta/ui/jdbc/sybase/tds/EedToken.class
# Find class jdbc.sybase.tds.Token
# Fetching http://opusdev.corp/beta/ui/jdbc/sybase/tds/Token.class
# Find class jdbc.sybase.jdbc.ParamManager
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/jdbc/ParamManager.class
# Find class jdbc.sybase.tds.LoginToken
# Fetching http://opusdev.corp/beta/ui/jdbc/sybase/tds/LoginToken.class
# Find class jdbc.sybase.tds.LogoutToken
# Fetching http://opusdev.corp/beta/ui/jdbc/sybase/tds/LogoutToken.class
# Find class jdbc.sybase.utils.CacheableInputStream
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/utils/CacheableInputStream.class
# Find class jdbc.sybase.tds.PduInputFormatter
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/tds/PduInputFormatter.class
# Find class jdbc.sybase.tds.TdsDataInputStream
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/tds/TdsDataInputStream.class
# Find class jdbc.sybase.tds.DoneToken
# Fetching http://opusdev.corp/beta/ui/jdbc/sybase/tds/DoneToken.class
# Find class jdbc.sybase.tds.RowToken
# Fetching http://opusdev.corp/beta/ui/jdbc/sybase/tds/RowToken.class
# Find class jdbc.sybase.jdbc.JdbcDataObject
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/jdbc/JdbcDataObject.class
# Find class jdbc.sybase.jdbc.Param
# Fetching http://opusdev.corp/beta/ui/jdbc/sybase/jdbc/Param.class
# Find class jdbc.sybase.tds.TdsParam
# Fetching http://opusdev.corp/beta/ui/jdbc/sybase/tds/TdsParam.class
# Find class jdbc.sybase.utils.Cacheable
# Fetching http://opusdev.corp/beta/ui/jdbc/sybase/utils/Cacheable.class
# Find class jdbc.sql.SQLWarning
# Fetching http://opusdev.corp/beta/ui/jdbc/sql/SQLWarning.class
# Find class jdbc.sybase.jdbc.SybConnection
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/jdbc/SybConnection.class
# Find class jdbc.sybase.jdbc.SybDatabaseMetaData
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/jdbc/SybDatabaseMetaData.class
# Find class jdbc.sql.PreparedStatement
# Fetching http://opusdev.corp/beta/ui/jdbc/sql/PreparedStatement.class
# Find class jdbc.sql.CallableStatement
# Fetching http://opusdev.corp/beta/ui/jdbc/sql/CallableStatement.class
# Find class jdbc.sql.DatabaseMetaData
# Fetching http://opusdev.corp/beta/ui/jdbc/sql/DatabaseMetaData.class
# Find class jdbc.sybase.utils.CacheChunk
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/utils/CacheChunk.class
# Find class jdbc.sybase.utils.CacheStream
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/utils/CacheStream.class
# Find class jdbc.sybase.tds.RowFormatToken
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/tds/RowFormatToken.class
# Find class jdbc.sql.Time
# Fetching http://opusdev.corp/beta/ui/jdbc/sql/Time.class
# Find class jdbc.sql.Date
# Fetching http://opusdev.corp/beta/ui/jdbc/sql/Date.class
# Find class jdbc.sybase.tds.CapabilityToken
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/tds/CapabilityToken.class
# Find class jdbc.sybase.tds.Slurp
# Fetching http://opusdev.corp/beta/ui/jdbc/sybase/tds/Slurp.class
# Find class jdbc.sybase.jdbc.SybCallableStatement
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/jdbc/SybCallableStatement.class
# Find class jdbc.sybase.jdbc.SybPreparedStatement
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/jdbc/SybPreparedStatement.class
# Find class jdbc.sybase.jdbc.SybStatement
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/jdbc/SybStatement.class
# Find class jdbc.sybase.jdbc.SybResultSet
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/jdbc/SybResultSet.class
# Find class jdbc.sybase.jdbc.ResultGetter
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/jdbc/ResultGetter.class
# Find class jdbc.sybase.jdbc.Cursor
# Fetching http://opusdev.corp/beta/ui/jdbc/sybase/jdbc/Cursor.class
# Find class jdbc.sybase.jdbc.SybCursorResultSet
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/jdbc/SybCursorResultSet.class
# Find class jdbc.math.BigDecimal
# Fetching http://opusdev.corp/beta/ui/jdbc/math/BigDecimal.class
# Find class jdbc.sql.Timestamp
# Fetching http://opusdev.corp/beta/ui/jdbc/sql/Timestamp.class
# Find class jdbc.sybase.jdbc.EscapeTokenizer
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/jdbc/EscapeTokenizer.class
# Find class jdbc.sybase.jdbc.Escape
# Fetching http://opusdev.corp/beta/ui/jdbc/sybase/jdbc/Escape.class
# Find class jdbc.sybase.tds.DataFormat
# Fetching http://opusdev.corp/beta/ui/jdbc/sybase/tds/DataFormat.class
# Find class jdbc.sybase.tds.DbrpcToken
# Fetching http://opusdev.corp/beta/ui/jdbc/sybase/tds/DbrpcToken.class
# Find class jdbc.sybase.tds.ParamFormatToken
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/tds/ParamFormatToken.class
# Find class jdbc.sybase.tds.ParamsToken
# Fetching http://opusdev.corp/beta/ui/jdbc/sybase/tds/ParamsToken.class
# Find class jdbc.sybase.tds.TdsJdbcInputStream
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/tds/TdsJdbcInputStream.class
# Find class jdbc.sybase.jdbc.RawInputStream
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/jdbc/RawInputStream.class
# Find class jdbc.sybase.jdbc.RawToAsciiInputStream
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/jdbc/RawToAsciiInputStream.class
# Find class jdbc.sybase.jdbc.PadByteInputStream
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/jdbc/PadByteInputStream.class
# Find class jdbc.sybase.jdbc.AsciiToUniInputStream
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/jdbc/AsciiToUniInputStream.class
# Find class jdbc.sybase.jdbc.MetaDataAccessor
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/jdbc/MetaDataAccessor.class
# Find class jdbc.sybase.tds.LanguageToken
# Fetching
http://opusdev.corp/beta/ui/jdbc/sybase/tds/LanguageToken.class
# New image: http://opusdev.corp/images/opus.gif
# Find class jdbc.sybase.tds.$1
# Fetching http://opusdev.corp/beta/ui/jdbc/sybase/tds/$1.class
# Find class jdbc.math.BigInteger
# Fetching http://opusdev.corp/beta/ui/jdbc/math/BigInteger.class
true
10523
# Find class OArticle
# Loaded OArticle.class from downloaded zip file.
.
.
.
.
}}}}}}}}}}}

Can someone explain why ?


--
Gopalakrishna K gopalk@corp.sgi.com

Off: (415) 933 8618 http://www.geocities.com/TheTropics/8151