persistence@glassfish.java.net

Please review fix for issue 969 (obsolete warning)

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Tue, 22 Aug 2006 15:59:19 -0700

Tom,

Please review the diffs. Please let me know if you need the actual files.

thanks,
-marina

Index:
src/java/oracle/toplink/essentials/internal/localization/i18n/LoggingLocalizationResource.java
===================================================================
RCS file:
/cvs/glassfish/entity-persistence/src/java/oracle/toplink/essentials/internal/localization/i18n/LoggingLocalizationResource.java,v
retrieving revision 1.15
diff -r1.15 LoggingLocalizationResource.java
270c270
< { "obsolete_property", "property {1} is obsolete, property {0} should
be used instead."},
---
 >         { "deprecated_property", "property {1} is deprecated, property {0} 
should be used instead."},
Index: src/java/oracle/toplink/essentials/ejb/cmp3/EntityManagerFactoryProvider.java
===================================================================
RCS file: 
/cvs/glassfish/entity-persistence/src/java/oracle/toplink/essentials/ejb/cmp3/EntityManagerFactoryProvider.java,v
retrieving revision 1.35
diff -r1.35 EntityManagerFactoryProvider.java
80c80
<     // Used to warn users about obsolete property name and suggest the valid name.
---
 >     // Used to warn users about deprecated property name and suggest the 
valid name.
372c372
<                 session.log(SessionLog.WARNING, SessionLog.TRANSACTION, 
"obsolete_property", oldPropertyNames[i]);
---
 >                 session.log(SessionLog.CONFIG, SessionLog.TRANSACTION, 
"deprecated_property", oldPropertyNames[i]);