Remove Subclassing/Dynamic Proxy support - beans must be enhanced

This commit is contained in:
Robin Bygrave
2013-04-19 16:25:10 +12:00
parent 66880aa340
commit 2567022d95
63 changed files with 233 additions and 2085 deletions
-19
View File
@@ -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.
*/