mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
Internal SpiQuery : remove unused convertWhereNaturalKeyToId()
This commit is contained in:
1 parent
f45d240682
commit
b794b6c77e
2 files changed
+10
-10
No files matched your search
@@ -389,11 +389,6 @@ public class DefaultOrmQuery<T> implements SpiQuery<T> {
|
||||
select(beanDescriptor.getIdBinder().getIdProperty());
|
||||
}
|
||||
|
||||
public void convertWhereNaturalKeyToId(Object idValue) {
|
||||
whereExpressions = new DefaultExpressionList<T>(this, null);
|
||||
setId(idValue);
|
||||
}
|
||||
|
||||
public NaturalKeyBindParam getNaturalKeyBindParam() {
|
||||
NaturalKeyBindParam namedBind = null;
|
||||
if (bindParams != null) {
|
||||
@@ -426,6 +421,10 @@ public class DefaultOrmQuery<T> implements SpiQuery<T> {
|
||||
}
|
||||
|
||||
public DefaultOrmQuery<T> copy() {
|
||||
return copy(server);
|
||||
}
|
||||
|
||||
public DefaultOrmQuery<T> copy(EbeanServer server) {
|
||||
// Not including these in the copy:
|
||||
// contextAdditions
|
||||
// queryListener
|
||||
|
||||
Reference in new issue
Block a user