So in the example below the second constructor taking the string name of a named server - that constructor will not be generated by default.
To generate that constructor set the environment var: EBEAN_FINDER_NAMEDSERVER to true ... or set the system property finder.namedServer to true.
public class PersonFinder extends Finder<Long,Person> {
/**
* Construct using the default EbeanServer.
*/
public PersonFinder() {
super(Person.class);
}
/**
* Construct with a given EbeanServer.
*/
public PersonFinder(String serverName) {
super(Person.class, serverName);
}
}
So in the example below the second constructor taking the string name of a named server - that constructor will not be generated by default.
To generate that constructor set the environment var:
EBEAN_FINDER_NAMEDSERVER
to true ... or set the system propertyfinder.namedServer
to true.