Play, EBean - SQLException Column Index out range 0 < 1

Problem:

Caused by: java.sql.SQLException: Column Index out of range, 0 < 1.

Solution:

Ebean "translates" the result columns names to "productEanId", "productId" and "ean". The solution is to give as alias the exact same names of the property to which the columns are going to be assigned:

Comments

Popular posts from this blog

Oracle - duplicate fields in RECORD,TABLE or argument list are not permitted

Oracle - ORA-29282: invalid file ID, ORA-06512: at "SYS.UTL_FILE"