mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Remove Subclassing/Dynamic Proxy support - beans must be enhanced
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
package com.avaje.ebean;
|
||||
|
||||
import com.avaje.ebean.config.ServerConfig;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
@@ -959,23 +957,6 @@ public interface Query<T> extends Serializable {
|
||||
*/
|
||||
public Query<T> setDistinct(boolean isDistinct);
|
||||
|
||||
/**
|
||||
* Set this to true and the beans and collections returned will be plain
|
||||
* classes rather than Ebean generated dynamic subclasses etc.
|
||||
* <p>
|
||||
* This is *ONLY* relevant when you are not using enhancement (and using
|
||||
* dynamic subclasses instead).
|
||||
* </p>
|
||||
* <p>
|
||||
* Alternatively you can globally set the mode using ebean.vanillaMode=true in
|
||||
* ebean.properties or {@link ServerConfig#setVanillaMode(boolean)}.
|
||||
* </p>
|
||||
*
|
||||
* @see ServerConfig#setVanillaMode(boolean)
|
||||
* @see ServerConfig#setVanillaRefMode(boolean)
|
||||
*/
|
||||
public Query<T> setVanillaMode(boolean vanillaMode);
|
||||
|
||||
/**
|
||||
* Return the first row value.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user