• Post Reply Bookmark Topic Watch Topic
  • New Topic

Schema Change for CMP

 
seshu Palamanti
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have used bottom up approach for my project using WSAD 5.1.1, there are multiple environments like Dev,Test,Prod...which have the same schema name so when I change the EAR on different environments it works fine. The trouble starts when I have to deploy the same EAR to Training environment which has different schema name but rest of all the stuff remains the same. WSAD when it does a bottom up approach to generate CMP beans it is hard coding the schema names in the some of the classes it generates.I have over come the problem by manually changing it in all the places where WSAD inserted the schema name. I wanted all of your HELP here, please let me know if there is any way I could avoid this manual change, may be use the deployment descriptor to determine which schema CMP classes represent when it is deployed.

THANKS IN ADVANCE
[ August 03, 2004: Message edited by: seshu palmanti ]
 
seshu Palamanti
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have found a solution for this problem, this can be over come by opening up the databases folder in the WSAD J2EE perspective and changing the Schema name to NULLID and regenerating the RMIC Deployment Code.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!