We want to execute the belown SQL:
Employee eList = activeObject.find(Employee.class, Query.select("COUNTRY").distinct());
This results in an sql exception:
org.h2.jdbc.JdbcSQLException: Data conversion error converting "France"
I guess the `select` argument has to be the `ID` field.
Is their a way to use `DISTINCT` with active objects, and ideally, retrieve only the specified column?
PS: We found these 2 issues that describe exactly the same problem we are encoutering, but we don't see any solution their although they are marked as resolved. Could we have more details about this.
Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events