这个是为什么呢,查询方法没有问题,增加的时候就报这个错误了
第三章:SpringBoot使用SpringDataJPA完成CRUD前两章我们简单讲解了SpringBoot的易用性,SpringBoot框架内部提供了很多我们需要用到的组件,需要什么你就可以拿到项目里。在我们平时的项目中,数据的存储以及访问...
这个是为什么呢,查询方法没有问题,增加的时候就报这个错误了
第三章:SpringBoot使用SpringDataJPA完成CRUD前两章我们简单讲解了SpringBoot的易用性,SpringBoot框架内部提供了很多我们需要用到的组件,需要什么你就可以拿到项目里。在我们平时的项目中,数据的存储以及访问...
Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.orm.jpa.JpaSystemException: The database returned no natively generated identity value; nested exception is org.hibernate.HibernateException: The database returned no natively generated identity value] with root cause
org.hibernate.HibernateException: The database returned no natively generated identity value
第三章:SpringBoot使用SpringDataJPA完成CRUD前两章我们简单讲解了SpringBoot的易用性,SpringBoot框架内部提供了很多我们需要用到的组件,需要什么你就可以拿到项目里。在我们平时的项目中,数据的存储以及访问...