Skip to main content

Source code revision

svn

summary: IN=109056 Avoid caching of provider classes in Persistence.java and add more detailed messages if EMF can't be created. Added try-catch block
revision: 16201
author: mvatkina
date: 2007-07-19 19:28:34 UTC (6 years)
message: IN=109056 Avoid caching of provider classes in Persistence.java and add
more detailed messages if EMF can't be created. Added try-catch block
around provider.createEntityManagerFactory() to catch exceptions from
those providers that do not return null, and added a stack trace to the
description of possible problems when EMF can't be created, for all
exceptions other than a ClassNotFoundException

Note, that the fix is restricted by the existing TCK signature test which
doesn't allow to remove or change a protected field definition or add a
protected method.

Issue number: 3229, 2814
Obtained from:
Submitted by:
Reviewed by: Craig, Pinaki, and Lance
Change Path Actions
M gfsvn/trunk/persistence-api/src/java/javax/persistence/Persistence.java
 
 
Close
loading
Please Confirm
Close