Issue Details (XML | Word | Printable)

Key: EJB-395
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Juraci Paixao Krohling
Reporter: Juraci Paixao Krohling
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Hibernate Entity Manager

Change method name "getEntityManager" to "getOrCreateEntityManager"

Created: 10/Oct/08 12:01 PM   Updated: 22/Oct/08 09:33 AM
Component/s: EntityManager
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. File ChangeMethodNameInTestCases.diff (39 kB)
2. File ChangeMethodNameInTestCases2.diff (37 kB)



 Description  « Hide
The tests under the branch v3_2_1_GA_CP had a patch EJB-394, based on EJB-393, but slightly different. The method name for getting or creating a new entity manager become getOrCreateEntityManager, while in trunk it is getEntityManager. So, the attached patch makes it consistent.

Also, a fix for the previously "getEntityManager(Map)" (now createEntityManager) is included, as stated on JBPAPP-1271

 All   Comments   Work Log   Change History   FishEye      Sort Order: Ascending order - Click to sort in descending order
Juraci Paixao Krohling added a comment - 17/Oct/08 07:04 AM
Adapted to revision 15355

Juraci Paixao Krohling added a comment - 22/Oct/08 09:33 AM
Revision 15372.