I use a version of the module

; Information added by drupal.org packaging script on 2013-05-25
version = "7.x-1.12+4-dev"
core = "7.x"
project = "oracle"
datestamp = "1369449108"

when i connect to external database i get this error

ORA-06550: line 1, column 16:
PLS-00201: identifier 'SETUP_SESSION' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored

it is obtained very often
I looked at the code, it happend in this place

$stmt= parent::prepare("begin ? := setup_session; end;");
$stmt->bindParam(1, $this->max_varchar2_bind_size, PDO::PARAM_INT|PDO::PARAM_INPUT_OUTPUT, 32);

file: /includes/database/oracle/database.inc
line: 122

how can i escape this error?

Comments

abratko’s picture

Issue summary: View changes
bohart’s picture

Assigned: abratko » Unassigned
Status: Active » Closed (outdated)

D7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.

Everyone can apply the patches/suggestions above (not tested by the maintainers, tested by the community) to their D7 projects.
If the issue remains relevant for D10+ versions, merge requests with proposed solutions for a new module version (D10+) are welcome in a new follow-up issue.

Thanks!

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.