object references an unsaved transient instance - save the transient instance before flushing: 。
1.注意是不是spring管理的事物的范围过大。
<tx:method name="*" propagation="REQUIRED" />,改小一些
1.注意是不是spring管理的事物的范围过大。
<tx:method name="*" propagation="REQUIRED" />,改小一些