;
private Customer customer; // 多对一
}
package test.java;
import org.hibernate.Session;
import...:
saveCommand("lc", "sl", "sc");
// 2.多对一先存一:
saveCommand("lc", "sc", "sl");...// 3.一对多先存多:
saveCommand("cl", "sl", "sc");
// 4.一对多先存一:
saveCommand(...:
saveCommand("cl", "lc", "sc", "sl");
// 7.多对一只存多:
saveCommand("lc", "sl");...// 8.多对一只存一:
saveCommand("lc", "sc");
// 9.一对多只存多:
saveCommand("cl",