cjgencmpsql (generate SQL statements for CMP2.x Entity Beans)
Format
cjgencmpsql [server-name] [-nameserver provider-URL]
-name application-name
[-resname EJB-JAR-display-name/Entity-Bean-display-name]
Function
This command generates SQL statements for CMP2.x Entity Beans.
If you execute this command, the following SQL statements are generated:
The cjgencmpsql command must be executed for CMP2.x Entity Beans at the following timing:
If you change the CMR settings after the SQL statements are generated, you must execute the cjgencmpsql command and generate SQL statements for Beans related to the modified CMR settings before deploying the Beans.
This command can be executed only while the application is stopped.
When the application is in the exploded archive format, operations can be performed for a J2EE server that runs on the host same as the command execution host.
Arguments
protocol-name: : host-name: port-number
Input examples
cjgencmpsql MyServer -name App1 -resname EjbJar1/Ejb1
Return values
Notes