CreateDefaultPackage
- Last Updated: May 30, 2024
- 1 minute read
- DataDirect Connectors
- JDBC
- Documentation
Purpose
Determines whether the driver automatically creates required Db2 packages.
For Db2 for Linux/UNIX/Windows, this property must be used in conjunction with the ReplacePackage property.
For Db2 for z/OS and Db2 for i, Db2 packages are created in the collection or library that is specified by the PackageCollection property.
Valid Values
true | false
Behavior
If set to true, the driver automatically
creates required Db2 packages, even if they already exist. Existing Db2 packages are
replaced by the new packages.
If set to false, the driver determines if
the required Db2 packages exist. If they do not, the driver automatically creates them.
Data Source Methods
public Boolean
getCreateDefaultPackage()
public void
setCreateDefaultPackage(Boolean)
Default
false
Data Type
Boolean