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

Top

Connecting to a Database


Normally, you don't have to worry about making connections to the database, because Enterprise Objects Framework connects to the database automatically for you. However, there are times when you may need to intervene. This chapter describes how Enterprise Objects Framework manages database connections and how you can customize the process. It's organized into the following sections:

"When Database Connections Are Opened and Closed" describes when applications open and close database connections.

"Logging into a Database" describes the process of getting and validating database connection information. It answers the questions "How do I set connection information that's not in a model?" and "How can I suppress an adaptor's login panel in an OpenStep application?"

"Limiting the Number of Database Connections" describes how to close database connections that aren't in use.

"Using Multiple EODatabaseChannels" describes how to avoid "busy channel" fetching conflicts.

"Character Encodings" describes how to tell both the database and the adaptor what encoding to use.

First Section