got another one for you. this used to work fine in 1.1.0:
@OneToMany()
@OrderBy("creationDate")
@Where(clause="deleted=0")
private List comments;
now i get:
javax.persistence.PersistenceException: Query threw SQLException:Ambiguous column name DELETED; SQL statement:
select e.id c0
, ec.id c1, ec.cdate c2, ec.comment c3, ec.deleted c4, ec.user_id c5, ec.event_id c6
from event e
left outer join eventcomment ec on ec.event_id = e.id
where deleted=0 and e.id = ?
order by e.id , ec.cdate [90059-79] Query was:
select e.id c0
, ec.id c1, ec.cdate c2, ec.comment c3, ec.deleted c4, ec.user_id c5, ec.event_id c6
from event e
left outer join eventcomment ec on ec.event_id = e.id
where deleted=0 and e.id = ?
order by e.id , ec.cdate
com.avaje.ebean.server.query.CQueryEngine.findMany(CQueryEngine.java:202)
com.avaje.ebean.server.query.DefaultOrmQueryEngine.findMany(DefaultOrmQueryEngine.java:88)
com.avaje.ebean.server.core.OrmQueryRequest.findList(OrmQueryRequest.java:284)