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 does OC4J know what DataSource to associate with a CMP entity bean?

0
Posted

How does OC4J know what DataSource to associate with a CMP entity bean?

0

The default DataSource used depends on where the DataSource is specified. You can specify the default DataSource in one of the following descriptors. Note: The order of sequence for the default DataSource configuration is the same as listed below. 1. Set the data source attribute on the element in the orion-ejb-jar.xml file for the entity bean. 2. Set the default-datasource attribute in the element in the orion-application.xml file that is specific to the application (within the EAR structure). 3. Set the default-datasource attribute in the element in the application.xml file that is generic to all applications. Thus, this file is located in the config/ directory.

Related Questions

What is your question?

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

Experts123