You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/01/10 01:09:23 UTC
[GitHub] [shardingsphere] wxq851685279 opened a new issue #8964: Failed to generate using spring data jpa id
wxq851685279 opened a new issue #8964:
URL: https://github.com/apache/shardingsphere/issues/8964
version:
springboot 2.3.7.RELEASE
sharding-jdbc-spring-boot-starter:4.1.1
exception:
`org.springframework.orm.jpa.JpaSystemException: ids for this class must be manually assigned before calling save(): com.example.demo.entity.Course; nested exception is org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save(): com.example.demo.entity.Course`
![image](https://user-images.githubusercontent.com/29041799/104111957-76619700-5323-11eb-8121-86c4676ddd31.png)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] wxq851685279 commented on issue #8964: Failed to generate using spring data jpa id
Posted by GitBox <gi...@apache.org>.
wxq851685279 commented on issue #8964:
URL: https://github.com/apache/shardingsphere/issues/8964#issuecomment-774615439
> Do you resolve the issue?
Manually set the primary key effective
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] wxq851685279 commented on issue #8964: Failed to generate using spring data jpa id
Posted by GitBox <gi...@apache.org>.
wxq851685279 commented on issue #8964:
URL: https://github.com/apache/shardingsphere/issues/8964#issuecomment-768315197
Need to manually set the primary key
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] wxq851685279 commented on issue #8964: Failed to generate using spring data jpa id
Posted by GitBox <gi...@apache.org>.
wxq851685279 commented on issue #8964:
URL: https://github.com/apache/shardingsphere/issues/8964#issuecomment-763272590
@rfscholte @WillemJiang @ke4qqq @gmcdonald
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] terrymanu commented on issue #8964: Failed to generate using spring data jpa id
Posted by GitBox <gi...@apache.org>.
terrymanu commented on issue #8964:
URL: https://github.com/apache/shardingsphere/issues/8964#issuecomment-774611894
Do you resolve the issue?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] terrymanu commented on issue #8964: Failed to generate using spring data jpa id
Posted by GitBox <gi...@apache.org>.
terrymanu commented on issue #8964:
URL: https://github.com/apache/shardingsphere/issues/8964#issuecomment-766755602
The exception is throw from hibernate and your own class, can you make clear the problem first?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] hesixian123 commented on issue #8964: Failed to generate using spring data jpa id
Posted by GitBox <gi...@apache.org>.
hesixian123 commented on issue #8964:
URL: https://github.com/apache/shardingsphere/issues/8964#issuecomment-1009591896
What is the use of this ID sequence generation algorithm after configuration? Or do you need to generate it manually
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] wxq851685279 removed a comment on issue #8964: Failed to generate using spring data jpa id
Posted by GitBox <gi...@apache.org>.
wxq851685279 removed a comment on issue #8964:
URL: https://github.com/apache/shardingsphere/issues/8964#issuecomment-763272590
@rfscholte @WillemJiang @ke4qqq @gmcdonald
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] wxq851685279 removed a comment on issue #8964: Failed to generate using spring data jpa id
Posted by GitBox <gi...@apache.org>.
wxq851685279 removed a comment on issue #8964:
URL: https://github.com/apache/shardingsphere/issues/8964#issuecomment-763272590
@rfscholte @WillemJiang @ke4qqq @gmcdonald
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] terrymanu commented on issue #8964: Failed to generate using spring data jpa id
Posted by GitBox <gi...@apache.org>.
terrymanu commented on issue #8964:
URL: https://github.com/apache/shardingsphere/issues/8964#issuecomment-766755602
The exception is throw from hibernate and your own class, can you make clear the problem first?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] terrymanu closed issue #8964: Failed to generate using spring data jpa id
Posted by GitBox <gi...@apache.org>.
terrymanu closed issue #8964:
URL: https://github.com/apache/shardingsphere/issues/8964
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org