ebean-orm-tools / finder-generator

Code generator for avaje-ebeanorm-typequery
Apache License 2.0
2 stars 3 forks source link

Change Finder code generation such that the where() method internally uses db() #4

Closed rbygrave closed 9 years ago

rbygrave commented 9 years ago

This makes it consistent with the other built in Finder methods (that all use db() to get the EbeanServer).

From a testing perspective you can then override the db() method to provide a test double EbeanServer instance.