actframework / act-ebean

The ebean plugin that uses latest ebeanorm and requrie java 8 support
Apache License 2.0
2 stars 1 forks source link

`EbeanQuery.first()` issue #28

Open CrossLee opened 6 years ago

CrossLee commented 6 years ago

It delegate to Ebean.findOne() which has problem that when returning result set contains more than one element, it will shout out with an exception

Expected result: