摘要:
1、cascade定义的是关系两端对象到对象的级联关系;而inverse定义的是关系和对象的级联关系。 all : 所有情况下均进行关联操作。 none:所有情况下均不进行关联操作。这是默认值。 save-update:在执行save/update/saveOrUpdate时进行关联操作。 dele 阅读全文
摘要:
一. 泛型概念的提出(为什么需要泛型)? 首先,我们看下下面这段简短的代码: 1 public class GenericTest { 2 3 public static void main(String[] args) { 4 List list = new ArrayList(); 5 list 阅读全文