Setting DataSource for a CMP Entity Bean.
 Technote (FAQ)
 
Problem
How can I set DataSource for a CMP Entity Bean?
 
Solution
You can set the DataSource for the CMP entity bean at the entity bean level in AAT, or you can set a default DataSource for the entire EJB module. If a CMP entity bean does not have any DataSource specified, it will use the default DataSource. However, the DataSource name specified at the CMP Entity bean level overrides the default DataSource name. The DataSource name must be the JNDI name of the JDBC DataSource set in the administration console.
 
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > EJB Container
Operating system(s): HP-UX
Software version: 4.0
Software edition:
Reference #: 1054320
IBM Group: Software Group
Modified date: Jul 8, 2002