Recognize javax.persistence as a valid property prefix

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@823328 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Pinaki Poddar 2009-10-08 21:17:47 +00:00
parent a91b3bdb40
commit 60491eb4d8
1 changed files with 2 additions and 2 deletions

View File

@ -777,8 +777,8 @@ public class ConfigurationImpl
* Issue a warning that the specified property is not valid.
*/
private void warnInvalidProperty(String propName) {
if (propName != null && propName.startsWith("java.")
|| propName.startsWith("sun."))
if (propName != null &&
(propName.startsWith("java.") || propName.startsWith("javax.persistence")|| propName.startsWith("sun.")))
return;
if (!isInvalidProperty(propName))
return;