dcsimg
Prefix name for DB2 in XML file
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Friday, June 6, 2003 05:12 AM

Hi all,
I am using Entity bean and i want to load db2 prefix name from a file into in XML file.
ie
In the XML file below


DBADB2.TABLE_NAME
i want to take the DBADB2 name from a file ..



'-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB RDBMS Persistence//EN'
'http://www.bea.com/servers/wls600/dtd/weblogic-rdbms20-persistence-600.dtd'>



HostsAdmin

DBADB2.TABLE_NAME

lstupd_Tmstmp
LSTUPD_TMSTMP





Thanks,
Ratna

Re: Prefix name for DB2 in XML file

Posted By:   Srivatsa_Manjunath  
Posted On:   Tuesday, June 10, 2003 11:46 AM

All of these queries for CMPs get built at weblogic.ejbc time. So you would have to perform such replace operations during build time using build time tool features.



For example, ant you could set a property called DB_USERNAME in the build.xml and have tags similar to @DB_USERNAME@ with in the xml files. ant takes care of performing the substitutes at build time for you
About | Sitemap | Contact