mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1798 - Fix automatic query label set on nested secondary query when using profileLocation
This commit is contained in:
@@ -380,6 +380,12 @@ public class DefaultOrmQuery<T> implements SpiQuery<T> {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setProfilePath(String label, String relativePath, ProfileLocation profileLocation) {
|
||||
this.profileLocation = profileLocation;
|
||||
this.label = ((profileLocation == null) ? label : profileLocation.label()) + "_" + relativePath;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Query<T> setLabel(String label) {
|
||||
this.label = label;
|
||||
|
||||
Reference in New Issue
Block a user