Correctly cast the return value of a CallableStatement when getShort
authorKris Jurka <[email protected]>
Thu, 21 Oct 2004 19:13:55 +0000 (19:13 +0000)
committerKris Jurka <[email protected]>
Thu, 21 Oct 2004 19:13:55 +0000 (19:13 +0000)
commit4a63af29345d489443d9167ae0fede3890490cd8
tree14ce59dc09c5fa4d5e080ffb6797ca63115cc5cc
parent92b91b59756486c93f935842a97c1057e536695c
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