Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do you set DataSource for a CMP Entity Bean?

bean CMP DataSource entity
0
Posted

How do you set DataSource for a CMP Entity Bean?

0

You can set the DataSource for the CMP entity bean at the entity bean level in AAT, or 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 admin console.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123