• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Schema Change for CMP

 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic