Bug 220389 - Allow use of multiple usernames with same EntityManagerFactory
Summary: Allow use of multiple usernames with same EntityManagerFactory
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-26 11:28 EST by Tom Ware CLA
Modified: 2022-06-09 10:35 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Ware CLA 2008-02-26 11:28:22 EST
EclipseLink should allow users to create entity managers using different user names for an entity manager factory.

We should support this in 2 ways.

1. (Simple) User provides properties to either the createEntityManagerFactory() call or to the createEntityManager() call that specify an alternate username and password.  In this case, we create all the structures necessary to provide and EM or EMF using that authentication information under the covers and provide the user with the desired construct.

2. (Advanced) User provides an alternate session name as a persistence unit property and any other persistence unit properties that will be overridden in the call to createEntityManagerFactory() or createEntityManager().  EclipseLink creates a new session with that name that uses the combination of the information in the persistence unit and in the overrides to create a whole new session.
Comment 1 Doug Clarke CLA 2008-07-07 13:32:25 EDT
Changed version to unspecified
Comment 2 Peter Krogh CLA 2009-11-27 13:55:00 EST
 This bug is being moved to Future where we can properly sort them all together based on community votes and severity. We will then assign them accordingly to future patch sets and releases.
Comment 3 Peter Krogh CLA 2009-11-30 11:37:13 EST
Changing the priority of the bugs that have been recently triaged to future.  Targetting them to P2 will differentiate them from the P3s that have been triaged into future earlier.
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:35:29 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink