|
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. |
|
|
|
|
|
|