今天发现一个问题:
org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save():
看了下,我这个实体类没有定义ID自动生成策略,ID没有值照成的。
今天发现一个问题:
org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save():
看了下,我这个实体类没有定义ID自动生成策略,ID没有值照成的。