mirror of https://github.com/apache/openjpa.git
OPENJPA-1114 improved trace messages
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@782132 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bace5f5697
commit
9c15e0b746
|
@ -577,7 +577,8 @@ public class PersistenceProductDerivation
|
|||
} else {
|
||||
// no optional validation provider, so just trace output
|
||||
conf.getConfigurationLog().trace(
|
||||
_loc.get("vlem-creation-warn", e.getMessage()));
|
||||
_loc.get("vlem-creation-warn", "No available Bean " +
|
||||
"Validation APIs"));
|
||||
return lem;
|
||||
}
|
||||
}
|
||||
|
@ -605,7 +606,7 @@ public class PersistenceProductDerivation
|
|||
}
|
||||
} else {
|
||||
conf.getConfigurationLog().trace(
|
||||
"Validation has been disabled by supplied mode.");
|
||||
_loc.get("vlem-creation-warn", "Disabled by ValidationMode"));
|
||||
}
|
||||
return lem;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue