Skip to content

Commit a40f25a

Browse files
committed
oracle.jdbc.fanEnabled is a java system proprty not environment variable
1 parent 5802e81 commit a40f25a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/src/main/python/create.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,9 @@ def validateRCUArgsAndModel(model_context, model):
341341
has_atpdbinfo = atp_helper.has_atpdbinfo(rcu_db_info)
342342

343343
if model_context.get_archive_file_name() and not has_regular_db:
344-
#os.environ['oracle.jdbc.fanEnabled'] = 'false'
344+
import java.lang.System as javasys
345+
javasys.setProperty('oracle.jdbc.fanEnabled', 'false')
346+
345347
# 1. If it does not have the oracle.net.tns_admin specified, then extract to domain/atpwallet
346348
# 2. If it is plain old regular oracle db, do nothing
347349
# 3. If it deos not have tns_admin in the model, then the wallet must be in the archive

0 commit comments

Comments
 (0)