Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [apptools] >  [core] >  [jdbc]
Private  Storage   

abstract class apptools.core.jdbc

JSON utility

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
5


Summary

Methods
ExportSQLConnection ExportView ImportSQLConnection SQLForPrivateRegistry
SQLForPublicRegistry


Methods

• classmethod ExportSQLConnection(targetdir="", ByRef json, exec="") as %Status
;export set exec="##class(apptools.core.jdbc).SQLForPublicRegistry()" do ##class(apptools.core.jdbc).ExportSQLConnection("/tmp/zpm-gateway-publ-oracle/",.js,$Get(exec)) write ##class(apptools.core.json).Pretty($g(js)) set exec="##class(apptools.core.jdbc).SQLForPublicRegistry()" do ##class(apptools.core.jdbc).ExportSQLConnection("/tmp/zpm-gateway-publ-sql/",.js,$Get(exec)) write ##class(apptools.core.json).Pretty($g(js)) set exec="##class(apptools.core.jdbc).SQLForPublicRegistry()" do ##class(apptools.core.jdbc).ExportSQLConnection("/tmp/zpm-gateway-publ-mysql/",.js,$Get(exec)) write ##class(apptools.core.json).Pretty($g(js)) set exec="##class(apptools.core.jdbc).SQLForPublicRegistry()" do ##class(apptools.core.jdbc).ExportSQLConnection("/tmp/zpm-gateway-publ/",.js,$Get(exec)) write ##class(apptools.core.json).Pretty($g(js)) set exec="##class(apptools.core.jdbc).SQLForPrivateRegistry()" do ##class(apptools.core.jdbc).ExportSQLConnection("/tmp/zpm-gateway=private/",.js,$Get(exec)) write ##class(apptools.core.json).Pretty($g(js)) ;show only set exec="##class(apptools.core.jdbc).ExportView()" do ##class(apptools.core.jdbc).ExportSQLConnection("/tmp/zpm-gateway/",.js,$Get(exec)) write ##class(apptools.core.json).Pretty($g(js))
• classmethod ExportView(%appTmp) as %Status
module for viewing objects
• classmethod ImportSQLConnection(zpmname="", sourcedir="", ByRef json) as %Status
Sample Import
• classmethod SQLForPrivateRegistry(%appTmp) as %Status
Field filtering module for export to private repositories. Accounts and password do not change.
• classmethod SQLForPublicRegistry(%appTmp) as %Status
Field filtering module for export to public repositories. Settings, names and accounts are changed to default and the password is changed to empty.


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.