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.

Can the auto-creation of tables at deployment time be controlled?

0
Posted

Can the auto-creation of tables at deployment time be controlled?

0

Yes. This can be done using OC4J specific EJB deployment descriptor. To control default behaviour such as table creation, specify autocreate-tables=”true” as an attribute in the tag in the orion-ejb-jar.xml file. You can also specify additional attributes to control other automatic processes and defaults, such as table deletion, mappings to existing tables, etc. The orion-ejb-jar.xml file is placed in the EJB META-INF directory along with the standard J2EE ejb-jar.xml deployment descriptor. 4.

Related Questions

What is your question?

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

Experts123