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

Hibernate - HibernateException: createQuery is not valid without active transaction