Skip to content

Commit 02a6679

Browse files
committed
Remove debug and update README.md
1 parent 928ca25 commit 02a6679

File tree

5 files changed

+11
-7
lines changed

5 files changed

+11
-7
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# OraTAPI - Oracle Table API Generator
44

5-
Version 1.6.1
5+
Version 1.5.9
66

77
- [OraTAPI - Oracle Table API Generator](#oratapi---oracle-table-api-generator)
88
- [About OraTAPI](#about-oratapi)
@@ -95,7 +95,10 @@ OraTAPI is a versatile tool that offers the following configurable options:
9595
- **Connection Manager**: Includes a connection manager (similar to named connections in SQLcl), allowing credentials to be securely stored and used transparently.
9696

9797
### Limitations
98-
- Connection via LDAP and database wallet are now supported, however you must install the Instant Client. You can either create an oracle client directory in the OraTAPI root folder, or set the ORACLE\_IC\_CLIENT shell variable to point to an alternative location.
98+
Connection via LDAP or Wallets is only supported via thick client. To configure thick client, either:
99+
100+
- Place the basic Oracle instant client in an oracle_client folder, in the root OraTAPI directory.
101+
- Set and export the ORACLE_IC_HOME shell variable, to point to the Instant Client location.
99102
---
100103

101104
### Documentation

resources/config/OraTAPI.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ dqu_core,dqu_runtime_binds,Undefined,True,True,True
2828
dqu_core,dqu_tests,Undefined,True,True,True
2929
dqu_core,dqu_test_results,Undefined,True,True,True
3030
dqu_core,dqu_test_run,Undefined,True,True,True
31+
orac,message_embeddings,Undefined,True,True,True

src/controller/ora_tapi.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -406,18 +406,17 @@ def schema_exists(self, schema_name: str) -> bool:
406406
WHERE username = :schema_name"""
407407

408408
try:
409-
print(f"[TRACE] db_session is None? {self.db_session is None}")
409+
# print(f"[TRACE] db_session is None? {self.db_session is None}")
410410
if self.db_session is not None:
411411
# some drivers have is_healthy(); if absent, this is harmless
412412
ok = getattr(self.db_session, "is_healthy", lambda: "unknown")()
413-
print(f"[TRACE] connection.is_healthy() -> {ok}")
414413
try:
415414
who = self.db_session.cursor().execute(
416415
"select user, sys_context('userenv','service_name') from dual"
417416
).fetchone()
418-
print(f"[TRACE] session identity -> user={who[0]} service={who[1]}")
419417
except Exception as e:
420-
print(f"[TRACE] cursor precheck failed: {type(e).__name__}: {e}")
418+
print(f"ERROR: cursor precheck failed: {type(e).__name__}: {e}")
419+
raise
421420

422421
with self.db_session.cursor() as cursor:
423422
if self.trace:

src/oratapi.egg-info/PKG-INFO

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Metadata-Version: 2.4
22
Name: oratapi
3-
Version: 1.5.9
3+
Version: 1.6.1
44
Summary: Oracle Table API Generator Application
55
Author: Clive Bostock
66
License-Expression: MIT

src/oratapi.egg-info/SOURCES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ src/model/framework_errors.py
119119
src/model/ora_tapi_csv.py
120120
src/model/pi_csv.py
121121
src/model/session_manager.py
122+
src/model/session_manager.py.old
122123
src/model/tapi_generator.py
123124
src/model/utplsql_generator.py
124125
src/oratapi.egg-info/PKG-INFO

0 commit comments

Comments
 (0)