python:jython_scripting_database
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende ÜberarbeitungLetzte ÜberarbeitungBeide Seiten der Revision | ||
python:jython_scripting_database [2016/11/06 16:29] – [Quellen] gpipperr | python:jython_scripting_database [2016/11/11 17:06] – gpipperr | ||
---|---|---|---|
Zeile 36: | Zeile 36: | ||
Folgende Objekte können in Script (default Java Script Syntax ! ) direkt angesprochen werden: | Folgende Objekte können in Script (default Java Script Syntax ! ) direkt angesprochen werden: | ||
* **sqlcl** - SQLCL selbst wie sqlcl.setStmt(„select * from dual“) und sqlcl.run() um das dann auszuführen | * **sqlcl** - SQLCL selbst wie sqlcl.setStmt(„select * from dual“) und sqlcl.run() um das dann auszuführen | ||
+ | * Methods: **setStmt(< | ||
+ | * Methods: **run** - Den Buffer ausführen | ||
* **ctx** - Object vom Typ ScriptContext, | * **ctx** - Object vom Typ ScriptContext, | ||
- | | + | * Methods: **write(< |
+ | * Methods: **getProperty(< | ||
+ | * Methods: **setProperty(< | ||
+ | | ||
+ | * Methods: **execute(< | ||
+ | * Methods: **executeReturnOneCol(< | ||
+ | * Methods: **executeReturnListofList(< | ||
+ | * Methods: **executeReturnList(< | ||
- | < | + | |
- | sqlcl | + | |
- | Methods: | + | |
- | | + | |
- | This can be a single statement, an entire script of stuff, or any sqlcl command such as " | + | |
- | | + | |
- | Runs whatever is in the stmts | + | |
- | + | ||
- | ctx ( this has tons of methods but this is the single most important ) | + | |
- | | + | |
- | | + | |
- | + | ||
- | util ( again tons of methods ) | + | |
- | | + | |
- | execute(< | + | |
- | | + | |
- | executeReturnOneCol(< | + | |
- | | + | |
- | executeReturnListofList(< | + | |
- | | + | |
- | executeReturnList(< | + | |
- | | + | |
- | + | ||
- | </ | + | |
- | See http:// | + | |
Zeile 266: | Zeile 251: | ||
Scripting JS | Scripting JS | ||
* http:// | * http:// | ||
+ |
python/jython_scripting_database.txt · Zuletzt geändert: 2016/11/15 19:59 von gpipperr