mirror of https://github.com/apache/openjpa.git
OPENJPA-924: Add localized statements for logging
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@748625 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
26a45518fd
commit
e11b753da5
|
@ -174,7 +174,8 @@ public class FinderCacheImpl
|
|||
if (finder != null) {
|
||||
_delegate.put(mapping, finder);
|
||||
if (_log != null && _log.isTraceEnabled())
|
||||
_log.trace(_loc.get("finder-cached", finder));
|
||||
_log.trace(_loc.get("finder-cached", mapping,
|
||||
finder.getQueryString()));
|
||||
} else {
|
||||
if (_log != null && _log.isWarnEnabled())
|
||||
_log.warn(_loc.get("finder-not-cachable", mapping));
|
||||
|
|
|
@ -136,3 +136,7 @@ uparam-pc-key: Class "{0}" uses {1} primary key columns but corresponding \
|
|||
positions {2} in the parameter list of the prepared query is not compatible.
|
||||
uparam-missing: Parameter {0} in SQL Query "{1}" is not given a value. The \
|
||||
parameters given is "{2}".
|
||||
finder-cached: Cached finder for "{0}" SQL: "{1}"
|
||||
finder-not-cachable: Finder for "{0}" is not cachable.
|
||||
finder-add-pattern: Exclusion pattern "{0}" for finder query has invalidated \
|
||||
{1} existing entries "{2}"
|
Loading…
Reference in New Issue