Roland PramlandRob Bygrave a46e086dc4 fix several bugs in findSingleAttibute (#980)
* add test case for distinct on id property

* suggested fix for "select distinct id"

* add test case for distinct with fetch

* FIX: .setDistinct(true) can be used in conjunction with fetch() now

* add test case for distinct with beans that have a disriminator column

* FIX: discriminator column is only read if also Id is read.

* fine tuned the test case

* added test cases for findSingleAttributeList without distinct

* improved fix to support also findSingleAttribute without distinct

* ADD: Bonus test case - assertion not yet verified
2017-02-26 12:37:36 +13:00
2016-05-04 10:46:04 +12:00
2016-06-17 13:19:01 +12:00

Need help?

Post questions or issues to the Ebean google group - https://groups.google.com/forum/#!forum/ebean

Documentation

Goto https://ebean-orm.github.io/

Maven central - ebean

Maven central - all related projects

Current versions

  • Maven Central : ebean - ebean
  • Maven Central : ebean-agent - ebean-agent
  • Maven Central : ebean-maven-plugin - ebean-maven-plugin
Languages
Java 93.2%
PLpgSQL 3%
TSQL 2.8%
SQLPL 0.7%
Kotlin 0.1%