RE: [INTERFACES] getObject and SMALLINT (JDBC)

From: Peter Mount <petermount(at)it(dot)maidstone(dot)gov(dot)uk>
To: "'Wim Ceulemans'" <wim(dot)ceulemans(at)nice(dot)be>, pgsql-interfaces(at)postgresql(dot)org
Subject: RE: [INTERFACES] getObject and SMALLINT (JDBC)
Date: 1999-11-10 13:07:14
Message-ID: 1B3D5E532D18D311861A00600865478C25E834@exchange1.nt.maidstone.gov.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

I do know that some books have got things wrong (usually typing mistakes
etc).

Anyhow, in the end, the JDBC specification is what counts.

Peter

> -----Original Message-----
> From: Wim Ceulemans [SMTP:wim(dot)ceulemans(at)nice(dot)be]
> Sent: 10 November 1999 12:20
> To: pgsql-interfaces(at)postgreSQL(dot)org
> Subject: Re: [INTERFACES] getObject and SMALLINT (JDBC)
>
>
>
> Peter Mount wrote:
> >
> > It's probably been like that since day one. I'll check the specs.
> >
> > Peter
> >
>
> I don't know it's a spec, but the recommendation I have read is in
> "JDBC
> Database Access with Java" - Graham Hamilton - Rick Catell - Maydene
> Fisher (The Java Series from the Source) on page 384, and it says:
>
> "The recommended Java mapping for the JDBC SMALLINT type is a Java
> short."
>
> ************

Browse pgsql-interfaces by date

  From Date Subject
Next Message Michael Meskes 1999-11-10 14:12:53 Re: [INTERFACES] my problems with ecpg and arrays
Previous Message Wim Ceulemans 1999-11-10 12:19:46 Re: [INTERFACES] getObject and SMALLINT (JDBC)