Back to Blog
![]() ![]() ![]() '' : Error in method invocation: Method add( ) not found in class'.proxy.CriteriaProxy' : at Line: 1 : in file: inline evaluation of: ``session.createCriteria( SomePojo.class).add(Restrictions.eq(" someProperty. Sourced file: inline evaluation of: ``session.createCriteria(SomePojo.class).add(Restrictions.eq("someProperty. So, a query like: "session.createCriteria(SomePojo.class).add(Restrictions.eq("someProperty", 1L))" results in: "Error in method invocation: Method add( ) not found in class'.proxy.CriteriaProxy'" I can execute HQL queries just fine on the HQL editor, but Criteria queries fail on the editor.
0 Comments
Read More
Leave a Reply. |