Oracle TopLink Developer's Guide
10g Release 3 (10.1.3) B13593-01 |
|
![]() Previous |
![]() Next |
Each session is associated with at least one mapping project (see "Configuring a Primary Mapping Project"). You can include additional TopLink mapping projects for a session.
Table 77-8 summarizes which sessions support additional mapping project configuration.
Table 77-8 Session Support for Additional Mapping Project
Session | Using TopLink Workbench
|
Using Java
|
---|---|---|
|
|
|
Session Broker and Client Sessions |
|
|
|
|
|
To specify additional TopLink projects for your session, use this procedure:
Select a server or database session in the Navigator. Its properties appear in the Editor.
Click the General tab. The General tab appears.
Click the Project subtab. The Project subtab appears.
Select Multiple Projects option. The Multiple Projects subtab appears.
To add an additional mapping project to this session, click Add. For more information, see "Configuring a Primary Mapping Project".
To remove TopLink mapping projects, select the project file and click Remove.
Using Java, you can register descriptors from more than one project with a session using the Session
API that Table 77-9 lists. Descriptors should be registered before login, but independent sets of descriptors can be added after login.
Table 77-9 Session API for Registering Descriptors
Session Method | Description |
---|---|
|
Add additional descriptor to the session in the form of a project. |
|
Add a vector of individual descriptor files to the session in the form of a project. |
|
Add individual descriptors to the session. |