Thread: RE: [INTERFACES] getObject and SMALLINT (JDBC)

RE: [INTERFACES] getObject and SMALLINT (JDBC)

From
Peter Mount
Date:
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.ceulemans@nice.be]
> Sent:    10 November 1999 12:20
> To:    pgsql-interfaces@postgreSQL.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."
> 
> ************