Hi All,
I try to connect to a remote Oracle 11.2g XE server as SYSDBA using Delphi 7 and ZeosLib 7.1.0-beta. Is there a way to do it without the following:
In the file ZPlainOracleConstants.pas at line 439 the constant OCI_SYSDBA is defined, but when starting the session (ZDbcOracle.pas, line 378) the GetPlainDriver.SessionBegin command is fired with the constant last parameter OCI_DEFAULT. I have changed this to OCI_SYSDBA and now it works but I would like to do this with an official way so it would be great to add a parameter at least to the IZOracleConnection class that I would be able to reach with casting it like (ZConnection1.DbcConnection as IZOracleConnection) and reach the authentication mode somehow like (ZConnection1.DbcConnection as IZOracleConnection).AuthenticationMode := OCI_SYSDBA;
Thanks in advance!
Ákos
Connecting as SYSDBA
Forum related to Oracle Server
Moderators: gto, EgonHugeist, mdaems
Jump to
- Links
- ↳ Bugtracker
- ↳ Downloads
- ↳ Subversion
- ↳ GitHub
- ZEOS Library - General
- ↳ Announcements
- ↳ Downloads
- ↳ Documentations
- ↳ Tutorials
- ↳ ZDBC (ZEOS Database Connectivity)
- ↳ User Contributions
- ↳ Feature Requests
- ↳ User Patches
- ZEOS DBO v8.x
- ↳ ZeosLib 7.3/8.0 Forum
- ZEOS DBO v7.x
- ↳ ZeosLib 7.2 Forum
- ↳ ZeosLib 7.1 stable Forum
- ↳ ZeosLib 7.0 Stable Forum
- ↳ ZeosLib 7.0 Beta Forum
- SQL Servers and Databases
- ↳ ADO
- ↳ DB2
- ↳ Firebird
- ↳ Interbase
- ↳ MS SQL Server
- ↳ MySQL
- ↳ Oracle
- ↳ OleDB (Microsoft Windows)
- ↳ ODBC
- ↳ PostgreSQL
- ↳ SQLite
- ↳ Sybase ASE
- Compiler related
- ↳ CBuilder / C++
- ↳ Lazarus / Freepascal
- ZEOS DBO V 6.x
- ↳ 6.6 - stable
- ↳ 6.5.1 (alpha) - 6.6.x (beta)
- ↳ 6.1.5
- ↳ Other 6.x Versions
- ↳ Bug Reports
- ZEOS DBO V 5.x
- ↳ 5.x Versions
- Software projects using ZeosLib
- ↳ SQLite Administrator
- Other and Non-Technical
- ↳ Off Topic