tournament和group表有一个一对多的关系,group和team有一个一对多的关系,如下所示。create table team ( group_id int references当我插入tournament_id team table时,我需要一种标准方法将group的值复制到“team”表的group_tournament_id中
编辑:在symfony
在这里得到一个Hibernate MappingException,我不知道为什么。2014/01/13 23:58:38 [] ERROR GrailsContextLoader - Error initializing the application: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.