python - cx_Oracle Statement getting Stuck -


while using cx_oracle(python), code goes waiting when the following statement executed:

some_connection.execute(some_sql) 

what reason?

without seeing actual sql in question hard know sure. possible answers include:

1) sql takes long time execute (and have patient)

2) sql blocked transaction (and transaction needs committed or rolled first)

you can find out examining contents of dba_locks, looking @ blocking_others column. can attempt issue same sql in sql*plus , see if exhibits same behaviour.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -