How to Add a Constructor to a Component

Previous Next

See Also

To add a constructor to a component:

1. Depending upon the type of component you are working with, on the Project Catalog's Model and Rules Tab, open the Components folder, then the 'Automation Servers' or 'J2EE Components' folder. Double-click the required component. In the resulting info window, click the Constructor tab page.
2. In the Constructor SQL field, specify the SQL statement (SELECT or INVOKE) that must be executed when the component is created. The result of this statement should contain the parameters for the constructor of the component.
3. Press the Check button. If the SQL is correct, the 'correct' checkbox will be automatically checked. .