Documentation Archive Developer
Search
PATH  Documentation > WebObjects 4.5 > EOF Developer's Guide

Table of Contents Previous Section

When Database Connections Are Opened and Closed

If you're using an EOEditingContext in your application, Enterprise Objects Framework connects to the database automatically. It makes a connection the first time a database operation is initiated, and reuses that same connection for subsequent database operations.

Enterprise Objects Framework doesn't close its connections to the database. It leaves the connections open until the application terminates. If you need to close database connections that aren't in use, see the section "Limiting the Number of Database Connections".

Table of Contents Next Section