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:
Donald Woods 2009-06-05 20:54:08 +00:00
parent bace5f5697
commit 9c15e0b746
1 changed files with 3 additions and 2 deletions

View File

@ -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;
}