wait until finished
stat = prog.wait()
# connect pipes together
(output, err) = prog.communica... eType)
def insertFileInfo(fileInfo, ora_dir_path, connection):
# strip the oracle path
relative_doc... se
# Cursor auf die DB oeffenen
cursor = connection.cursor()
# filename,filetyp,filedirectory...
except cx_Oracle.DatabaseError as e:
connection.rollback()
print("-- Error - Oracle Da
===============================+
-- function : connectAD
-- +===========================================================+
function connectad
return dbms_ldap.session;
-- +===========... =================================+
-- function : connectAD
-- connect to the AD
-- +===========================================================+
function connect
ode sql>
--A
create user A identified by A;
grant connect to A;
grant create table to A;
grant unlimited ta... e to A;
--B
create user B identified by B;
grant connect to B;
grant create View to B;
--C
create user C identified by C;
grant connect to C;
</code>
Testcase 1
User A:
<code sql>
connect a/A
create table T as select * from all_objects;
g
ße anpassen ( ORDS verwendet den Oracle Universal Connection Pool (UCP) )
d.h. zu Beginn wird eine gewisse Anzahl an Connections aufgebaut,jdbc.InitialLimit (default 3), sind diese Connections belegt werden bis jdbc.MaxLimit neue Connections dem Pool hinzugefügt.
Parameter in defaults.xml: (
orragende Dokumentation, leider erst auf der Apex Connect 2016 davon erfahren, das hätte mir im Vorfeld vie... folgende Zeile suchen und anpassen:
<code xml>
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="84... modules/mod_socache_shmcb.so
# Secure (SSL/TLS) connections
Include conf/extra/httpd-ssl.conf
</code>
Di
se aus diesen kleinen Projekt werden auf der APEX Connect 2016 vorgestellt.
**<fc #ff0000>DOAG</fc> - [[https://apex.doag.org/de/| Apex Connect 2016 Konferenz- April 2016]] **\\
26. bis 28. Apr... den Baum aufzubauen:
<code sql>
select case when connect_by_isleaf = 1 then 0 when level = 1 then 1 else -... tp_rel.id)
)
start with parent is null
connect by prior id = parent
order siblings by name
</c
se [2]: 2
Enter a number to select the database connection type to use
[1] Basic (host name, port, se...
Enter the database password for SYS AS SYSDBA:
Connecting to database user: SYS AS SYSDBA url: jdbc:orac... 0.90:1521/SRV_GPIDB_MAIN
Retrieving information.
Connecting to database user: ORDS_PUBLIC_USER url: jdbc:o... [2] Skip
Choose [1]: 2
The setting named: db.connectionType was set to: basic in configuration: defaul
t
* edge oder line => Kante
* Connected Components => Zusammenhangskomponente ... , options=>NULL);
end;
</code>
Ein connected components Cluster ermitteln:
<code sql>
set se... ' || wtNewas || ' '|| wtDelta );
-- Finds connected components in a property graph.
-- All connected components will be stored in the wt_clusters table.
eben:
<code sql>
sqlplus / as sysdba
grant DEBUG CONNECT SESSION to gpi;
grant DEBUG ANY PROCEDURE to gpi;... r')
/
</code>
Im SQL*Developer Debugger über die Connection Baum auf der rechten Seite auf einen Port wie 4444 starten:
* Rechte MausTaste auf dem Connection Object, Aufruf über "Remote Debugging"
* {{:... und einem Port starten}}
In SQL Plus die Debug Connection zu dem obigen Listener aktivieren:
<code sql>
racle Database Express Edition) solely to support connectivity to Oracle Application Express, which may be ... --------------------------------------
echo -- to connect use http://127.0.0.1:8080/ords
echo -- Workspac... * Allgemeine Einstellungen und Defaults für alle Connection Pools
**standalone\standalone.properties**
...
<code xml>
<!-- von 3 auf 10 -->
<!-- Anzahl der Connections beim Startup -->
<entry key="jdbc.InitialLimi