beforeRefreshOpenCursor method

  1. @override
void beforeRefreshOpenCursor()
override

Implementation

@override
void beforeRefreshOpenCursor() {
  // This is only necessary because TIBConnection can not re-open a
  // prepared cursor. In fact this is wrong, but has never led to
  // problems because in SetActive(false) queries are always
  // unprepared. (which is also wrong, but has to be fixed later)
  // (original comment kept as-is)
  if (isPrepared()) {
    sqlConnection!.unPrepareStatement(cursor!);
  }
}