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 2022/04/16 07:23:13 UTC

[GitHub] [shardingsphere] a347807131 commented on issue #16840: A issue caused when integrating shardingsphere witing springboot jpa, when update a entity data.

a347807131 commented on issue #16840:
URL: https://github.com/apache/shardingsphere/issues/16840#issuecomment-1100593898

   @zjcnb 换成了5.1.0, 结果并没有改变
   ```log
   Hibernate: insert into dicomseries (accesstime, bodysite, haveserieswl, patientposition, seriesdate, seriesdescription, seriesnumber, seriestime, site, studydate, patientid, seriesinstanceuid, studyinstanceuid) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
   2022-04-16 15:21:38.973  INFO 1048 --- [           main] ShardingSphere-SQL                       : Logic SQL: insert into dicomseries (accesstime, bodysite, haveserieswl, patientposition, seriesdate, seriesdescription, seriesnumber, seriestime, site, studydate, patientid, seriesinstanceuid, studyinstanceuid) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
   2022-04-16 15:21:38.974  INFO 1048 --- [           main] ShardingSphere-SQL                       : SQLStatement: MySQLInsertStatement(setAssignment=Optional.empty, onDuplicateKeyColumns=Optional.empty)
   2022-04-16 15:21:38.974  INFO 1048 --- [           main] ShardingSphere-SQL                       : Actual SQL: pacs ::: insert into dicomseries_202110_750 (accesstime, bodysite, haveserieswl, patientposition, seriesdate, seriesdescription, seriesnumber, seriestime, site, studydate, patientid, seriesinstanceuid, studyinstanceuid) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ::: [20211022.000000000000000000000000000000, 脸都不要了, null, , , SeriesDescription, 1, , 750, 20211022, 922021101600801, 1.2.826.0.1.3680043.2.1545.1.2.1.7.20211022.151320.556.8, 2021.10.16.16.10.0.21]
   2022-04-16 15:21:38.991  WARN 1048 --- [           main] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 1062, SQLState: 23000
   2022-04-16 15:21:38.991 ERROR 1048 --- [           main] o.h.engine.jdbc.spi.SqlExceptionHelper   : Duplicate entry '2021.10.16.16.10.0.21-1.2.826.0.1.3680043.2.1545.1.2.1.7.2021102' for key 'PRIMARY'
   ```


-- 
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