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 TopLink know when to INSERT an object versus UPDATE it?

insert object TopLink versus
0
Posted

How does TopLink know when to INSERT an object versus UPDATE it?

0

TopLink determines whether to INSERT or UPDATE an object based upon the following existence-checking settings (provided in each persistent class’s descriptor): Check cache (default) Check database Assume existence Assume non-existence Use the Check Database option only when caching cannot be guaranteed for modified objects. This option will lower performance (as compared to Check Cache) because it must access the database each time.

Related Questions

What is your question?

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

Experts123