mirror of https://github.com/apache/openjpa.git
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:
parent
a91b3bdb40
commit
60491eb4d8
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue