Since I am used the JPA reverse engineering tool within MyEclipse, I am wondering how I can take the completed application and deploy it to my production environment without changing the catalog name that is embedded in each and ever data-object.
Essentailly, I have two database instances: 1 QA and 1 Production.
After the application is tested against the bogus QA data, I want to be able to “promote” this *.war file to the production JBoss server on the same machine but using a different “live” database.
With the database catalog being “hardcoded” into each .java/.class file how can this be accomplished? Do I need to create a second code base? (i hope not!!!!!!)
thanks