persistence@glassfish.java.net

Fixing issue 327: qualify hints and toplink property names

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Fri, 17 Mar 2006 09:49:38 -0800

Peter, Tom,

I suggest to prepend all strings listed in the issue with 'toplink.'.

I checked the usage of the strings, and none of them is propagated into
the rest of TopLink code:

EJBQueryImpl
        - translates hints into method calls;
EntityManagerSetupImpl and EntityMappingsXMLProcessor
        - read the corresponding values from the properties objects
JavaSECMPInitializer
        - adds a NO_WEAVING property to the Map if weaving is not possible

I also suggest to prepend 'toplink.' to java2db strings.

Let me know if you see any problems with this proposal.

We should not be worrying too much about existed tests, as they are changing
persistence.xml already for the version attribute :).

thanks,
-marina