java - how to write Hibernate Criteria to take nested list objects by Projection List? -


my question similar question how write hibernate criteria take nested objects projection list?

but tiny differnce. in fact classes similar to

  class person {     private long id;     private string name;     private list<car> cars; // differnce      // getters , setters   } 

how transformer list of objects?


Comments

Popular posts from this blog

javascript - Trigger mouseenter when an animated element touches mouse -

json - Zend error Connection -

java - Using Spring @Transactional with a combination of readOnly and write, when does this entity get committed? -