Prepared statements become unusable after calling closeCursor() on IBM DB2, Oracle and MS SQL Server.