
27 May
2007
27 May
'07
8:56 a.m.
On 27-05-2007 10:51:35 +0200, Ramon Nogueira wrote:
A better solution (IMO) would be to have the JDBC classes extend abstract classes that actually implement the JDBC interfaces and just thrown OperationNotSupportedException for all methods. Then the subclasses can selectively override the methods they support. This will make it work on both JDBC 3 and 4. Then gradually implement the additional methods.
No, as the methods in JDBC4 have classes in their signature that do not exist in JDBC3.