persistence@glassfish.java.net

findbugs and javax.persistence.Persistence

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Tue, 14 Feb 2006 13:35:17 -0800

Mike, Linda,

FindBugs tool reported the following 2 problems with javax.persistence.Persistence:

H V MS: javax.persistence.Persistence.PERSISTENCE_PROVIDER isn't final but should be
H V MS: javax.persistence.Persistence.providers isn't final but should be

We also noticed that PERSISTENCE_PROVIDER is not used in GlassFish and not
mentioned anywhere in the spec. Should it be removed?

thanks,
-marina