mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
#461 - ENH: Add @Draftable support - @DraftDirty
This commit is contained in:
1 parent
db371cbc6a
commit
5e8afbe50d
7 files changed
+146
-82
No files matched your search
@@ -415,6 +415,9 @@ public class CQueryEngine {
|
||||
if (query.isAutoTuned()) {
|
||||
msg.append("tuned[true] ");
|
||||
}
|
||||
if (query.isAsDraft()) {
|
||||
msg.append(" draft[true] ");
|
||||
}
|
||||
if (originKey != null) {
|
||||
msg.append("origin[").append(originKey).append("] ");
|
||||
}
|
||||
@@ -458,6 +461,9 @@ public class CQueryEngine {
|
||||
if (query.isAutoTuned()) {
|
||||
msg.append("tuned[true] ");
|
||||
}
|
||||
if (query.isAsDraft()) {
|
||||
msg.append(" draft[true] ");
|
||||
}
|
||||
if (originKey != null) {
|
||||
msg.append("origin[").append(originKey).append("] ");
|
||||
}
|
||||
|
||||
@@ -88,7 +88,6 @@ public class CQueryFetchIds {
|
||||
* Return a summary description of this query.
|
||||
*/
|
||||
public String getSummary() {
|
||||
//noinspection StringBufferReplaceableByString
|
||||
StringBuilder sb = new StringBuilder(80);
|
||||
sb.append("FindIds exeMicros[").append(executionTimeMicros)
|
||||
.append("] rows[").append(rowCount)
|
||||
|
||||
Reference in new issue
Block a user