persistence@glassfish.java.net

Re: Please review fix for issue 969 (obsolete warning)

From: Tom Ware <tom.ware_at_oracle.com>
Date: Wed, 23 Aug 2006 10:04:23 -0400

Hi Marina,

  Changes look good.

-Tom

Marina Vatkina wrote:

>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]);
>
>

-- 
Tom Ware
Principal Software Engineer
Oracle Canada Inc.
Direct: (613) 783-4598
Email: tom.ware_at_oracle.com