Hibernate – passing a complete object to HQL or find()
I’m currently experimenting with Hibernate (hope I’d get back to OFBiz soon; or that OFBiz uses Hibernate sooner). Is there a way that I can retrieve (find/load) records from the database using my an object in the following manner: {% highlight java %} …myObject.setFoo(f);myObject.setBar(b);//foo and bar does not relate to the Object’s primary keys//Other properties have null or unset...