Re: suggestions for SQLJ&JDBC

From: Avi Abrami <aabrami_at_intersystemsww.com>
Date: Wed, 21 Aug 2002 08:55:01 +0200
Message-ID: <3D633945.8E5A47BC_at_intersystemsww.com>


kopek wrote:
>
> Not sure what you meant by this.
>
> > So to summarize -- and answer your questions:
> >
> > 1. Yes, SQLJ is cross platform and cross DB as much as java and
> > JDBC is cross platform (and cross DB).
>
> You can not use ORACLE JDBC driver to conect to SQL server (or other RDBMS), yes?
>
> - K.M.

Hi K.M.,
Did you miss the line immediately before the one you quoted?

>>Your SQLJ (and/or JDBC) code is _always_ cross platform -- it's >>the JDBC driver that isn't.

Or is that also unclear?

Isn't my java code going to contain something like:

ResultSet rs = preparedStatement.executeQuery();

regardless of whether I am connected DB2 or Sybase?

Hope this clarifies my meaning.

Cheers,
Avi. Received on Wed Aug 21 2002 - 08:55:01 CEST

Original text of this message