OPENJPA-1543: Remove fragmented messages. Change to TRACE level logging.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@917656 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Pinaki Poddar 2010-03-01 19:12:21 +00:00
parent 42769bd9d8
commit c1a3272872
2 changed files with 8 additions and 8 deletions

View File

@ -219,7 +219,7 @@ public class PreparedQueryImpl implements PreparedQuery {
if (provider instanceof SelectResultObjectProvider) {
return new Object[]{((SelectResultObjectProvider)provider).getSelect(), null};
}
return new Object[]{null, _loc.get("exclude-not-select-rop", provider)};
return new Object[]{null, _loc.get("exclude-not-select-rop", provider.getClass().getName())};
}
private SelectImpl extractImplementation(SelectExecutor selector) {

View File

@ -149,17 +149,17 @@ bad-lrs-size: Invalid LRS size. Valid values are \
"unknown"(0), "last"(1) or "query"(2). Specified value: {0}.
bad-join-syntax: Invalid join syntax. Valid values are \
"sql92"(0), "tradition"(1) or "database"(2). Specified value: {0}.
exclude-multi-select: because this query generates multiple SQL statements. \
exclude-multi-select: This query generates multiple SQL statements. \
A query can be cached only when it corresponds to a single SQL statement.
exclude-not-result: because this query returns a single value rather than \
exclude-not-result: This query returns a single value rather than \
a list. A query that returns single value can not be cached.
exclude-no-user-object: because post-execution data can not be extracted \
exclude-no-user-object: Post-execution data can not be extracted \
from this query.
exclude-no-sql: because target SQL statement can not be extracted \
exclude-no-sql: Target SQL statement can not be extracted \
from this query.
exclude-no-select: because internal select instance can not be extracted \
exclude-no-select: Internal select instance can not be extracted \
from this query.
exclude-not-select-rop: because the query result is not obtained by executing \
exclude-not-select-rop: The query result is not obtained by executing \
a select statement. This can happen if the query was evaluated in-memory. \
The result was provided by an instance of {0}.
exclude-not-executor: because this query was not executed on a data store.
exclude-not-executor: This query was not executed on a data store.