摘要:
SQL多表操作分类; 1.交叉连接:select*from t_customer cross Join t_order; 2.显示内连接: select*from t_customer c inner join t_order o on c.id=o.c_customer_id; 隐示内连接:sel 阅读全文
摘要:
恢复内容开始 Hibernate的检索方式分为五种: 1.对象导航检索.根据已加载的对象,调用方法.导航到其他对象 Customer c=session.get(Customer.class,2); c.getOrders().size() 2.OID检索:按照对象的OID检索对象:通过get/lo 阅读全文