Correctly cast the return value of a CallableStatement when getShort
authorKris Jurka <books@ejurka.com>
Thu, 21 Oct 2004 19:13:55 +0000 (19:13 +0000)
committerKris Jurka <books@ejurka.com>
Thu, 21 Oct 2004 19:13:55 +0000 (19:13 +0000)
commitd06384c6d75742f88d4b1e21e68b28dc71116320
treebb324b662baa8ec29746f17483ede2b9174e827a
parent62a6019c495d617679b074142bc09812d4cbaf7d
Correctly cast the return value of a CallableStatement when getShort
is called.  getByte presents a can't happen situation as no function
can return a TINYINT because pg doesn't have an equivalent type.
Make this throw an exception if we get to this point.

Thanks to Christian Niles.
src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java