RelationshipDatabaseSchemaDrop script
Use the RelationshipDatabaseSchemaDrop.py script
to remove all relationship database artifacts that are associated
with a relationship, including all database artifacts and instance
data that are associated with the roles defined for that relationship.
The RelationshipDatabaseSchemaDrop.py script is located in the WPS_HOME/util/RelService directory.
Make sure that wsadmin is connected to the server (in a stand-alone environment) or to the deployment manager (in a Network Deployment environment).
Note: The RelationshipDatabaseSchemaDrop.py script
causes all the relationship database artifacts that are associated
with the relationship to be forcibly removed, even if other applications
are using the relationship. The system does not detect shared relationships.
Note: Do not uninstall the application
that contains the relationship whose database artifacts you plan to
drop before you run the RelationshipDatabaseSchemaDrop.py script.
Uninstall the application after you run the script.
Required parameter
- relationshipFullName
- The full name of the relationship, which has the following format:
relationship target namespaceplus
plus/relationship short name. For example, with relationship target namespacehttp://RelationshipSampleand relationship short nameCountryRelationship, the full name would behttp://RelationshipSample/CountryRelationship.
Example
This example removes all the relationship
database artifacts that are associated with relationship full name
http://RelationshipSample/CountryRelationship.wsadmin -f ${WPS_HOME}/util/RelService/RelServicRelationshipDatabaseSchemaDrop.py http://RelationshipSample/
CountryRelationship
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15