-
Notifications
You must be signed in to change notification settings - Fork 69
PCTLoadSchema
Gilles Querret edited this page Apr 18, 2023
·
14 revisions
Load database schema.
<pct:schema_load />
| Attribute | Description | Default value |
|---|---|---|
| srcFile ‡ | DF file to be loaded | None |
| unfreeze | Unfreeze the tables in the database before loading the schema, then refreeze everything that was unfrozen after the load. | False |
| onlineChanges | Relaxes requirements to apply online changes (use SESSION:SCHEMA-CHANGE = 'NEW OBJECTS'). |
False |
| commitWhenErrors | Commits transaction even if there are errors. If set to true and there are errors, it just displays a warning. If set to false and there are errors, build fails. | False |
| callbackClass | Implementation of rssw.pct.ILoadCallback. Only for OpenEdge 11.3+ |
None |
| analyzerClass | Implementation of OpenEdge.DataAdmin.Binding.IDataDefinitionLoader. Only for OpenEdge 11.3+ |
None |
† Only one of those attributes is mandatory ‡ Mandatory attribute
PCTLoadSchema inherits attributes from PCT and PCTRun.
Adds a resource collection to be loaded in database
Callback class has to implement rssw.pct.ILoadCallback or extend rssw.pct.AbstractLoadCallback, and have a no-arguments constructor.
Class has to implement OpenEdge.DataAdmin.Binding.IDataDefinitionLoader.
<PCTLoadSchema srcFile="schema.df" dlcHome="${DLC}">
<DBConnection dbName="test" singleUser="true" />
</PCTLoadSchema>Connects in single-user mode to test.db and loads schema from schema.df
<PCTLoadSchema dlcHome="${DLC}">
<DBConnection dbName="test" singleUser="true" />
<fileset dir="schema" includes="*.df" />
</PCTLoadSchema>Connects in single-user mode to test.db and loads every .df file in schema directory
- QuickStart
- Changelog
- InstallDocumentation
- FAQ
-
Tasks
- PCT
- DlcHome
- PCTRun
- PCTDynRun
- PCTCompile
- PCTWSComp
- PCTCreateDatabase
- Sports2000
- Sports2020
- PCTDumpSchema
- PCTDumpSequences
- PCTLoadSchema
- PCTIncrementalDump
- PCTBinaryDump
- PCTBinaryLoad
- PCTDumpData
- PCTLoadData
- PCTSchemaDoc
- PCTLibrary
- PCTProxygen
- PCTXCode
- ProgressVersion
- PCTVersion
- ClassDocumentation
- HtmlDocumentation
- XMLDocumentation
- JsonDocumentation
- ABLDuck
- OEUnit
- ABLUnit
- RestGen
- AssemblyCatalog
- Types