Tuesday, August 30, 2016

Oracle Client Identifier

Hi Expert,

Oracle has the feature that it notifies application user id to connected
database session like this.

https://oracle-base.com/articles/misc/dbms_session#client_identifier

We could realize it for a new connection in Python, for example,

cursor = connection.cursor()
cursor.callproc('dbms_session.
set_identifier',['client_id'])
cursor.execute("SELECT * FROM EMP ORDER BY EMPNO")

I want to set client identifier to the connection used by Django data
model. Is it possible? I would appreciate it if you could give me any idea.

Thanks,
Katsuya

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/567e9b5f-ab8c-4375-8f1d-a99e5c1494db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment