1. for the list () method and iterator () method of the Query interface, you can obtain the Query object, but list () every object returned by the method is complete (each attribute in the object is filled with fields in the table), and the object returned by the iterator () method only contains the primary key value (identifier ), only when operating on objects in iterator (), hibernate will send an SQL statement to the database again to obtain the attribute value of this object. 2. One-to-multiple bidirectional Association configuration. Relationship between customer and order: [java] public class Customer {private Long id; private String name; private Set <Order> orders; // One to multiple, this variable can be used to reference the corresponding Order set object... Get/set Method omitted} [java] public class Order {private Long id; private String orderNumber; private Customer customer; // multiple-to-one, this variable can be used to reference the associated customer object... Get/set Method omitted} Customer. hbm. xml [html]