db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Armin Waibel <arm...@apache.org>
Subject Method check Platform.isCallableStatement is not sufficient
Date Fri, 22 Apr 2005 12:05:53 GMT
Hi all,

after the changes made to support stored procedures returning 
ResultSets, all MaxDB/SapDB tests fail, because the check for 
CallableStatements made in Platform.isCallableStatement is not sufficient.

The MaxDB driver always retrun a Statement object which is instance of 
CallableStatement, so OJB always assume a stored procedure was used. I 
think this check is wrong:
If instance of statement object is CallableStatement ==> a stored 
procedure is used - is wrong!

Any suggestions how to fix this?

regards,
Armin

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message