my code is: List list = ebeanServer.find(Log4jEdi.class) .where("logLevel=:A_A") .setParameter("A_A", "INFO") .findList(); System.out.println(list);EBean will throw:javax.persistence.PersistenceException: Query threw SQLException:index lost IN or OUT paramater:: 1 Query was:select l.LOG_ID c0, l.LOG_DATE c1, l.LOG_LEVEL c2, l.LOG_THREAD c3, l.LOG_CLASSNAME c4, l.LOG_MSG c5 from LOG4J_EDI l where l.LOG_LEVEL=?_A
Fixed in HEAD. This was an issue with BindParamsParser. Add support for underscores as part of the parameter name.