• 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 ...
  • Campbell Ritchie
  • Devaka Cooray
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Jeanne Boyarsky
  • Tim Cooke
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown


Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I created all entity bean with a userid id USER1, and tested when I moved my code to another application server in different box, I am not able to deploy the bean and having a problem saying the userid not exist the reason is , the application server is pointing to different database with different user id saying USER2, how to do mapping of my entity to that USER2 instead of USER1.
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Meyyappan,
You didnt mention which version of WebSphere you are using and which tool are u using for developement of Entity Beans. As far as WAS3.5 is concerned we developed our Entity Beans using VAJ3.5 so if we had a change of schema then all you had to do in VAJ was open the database schema browser and then remove the hardcoded schema name in the Qualifier textbox. This way during deployment time the schema name will not clash as given in the Datasource. So even if you have a different database with a different schema name but with the same table structure ( as previous schema ) you can deploy your entity bean by just pointing your datasource to that database and schema ( you can use any userid and pwd, all that matters is the schema name).
About WAS4.0, we are using WSAD for development and deployment of Entity Beans and I am also looking for how to change the schema name through WSAD. I also posted a question regarding this but nobody answered. Though there is one solution to it, the schema mapping is stored in schema.dbxmi - so there we can change the name of the schema but thats something very raw, i hope someone will find a right solution for it soon.
Clowns were never meant to be THAT big! We must destroy it with this tiny ad:
a bit of art, as a gift, that will fit in a stocking
    Bookmark Topic Watch Topic
  • New Topic