I have signed and agree to the terms of the Spring Individual Contributor License Agreement.

This patch is about https://jira.spring.io/browse/SPR-4691

Comment From: benelog

@snicoll Is there any feedback on this?

Comment From: snicoll

Sorry, I hadn't a chance to look at this yet. It's on my todo list.

Comment From: kervin521

I can find or query Entity(s),Only to set Property of Entity,but auto update to data base,I can't saveOrUpdate operation.

for example:

List list = commonService.findByCriteria(criteria); for(A a:list){ a.setStatus(1);// default is 0; } follow up,A-->status=1 will auto update to data base; why? how to handle to avoid to happen?

protect frame: 1.spring 4.3.2+hibernate 5.1.0 2.spring 3.2.17+hibernate 3.6.10 The above two combinations have existed this problem

Comment From: snicoll

@kervin521 I am not sure I follow and this PR is not a place for questions. Please raise them on Stackoverflow. Thanks!

Comment From: danesavot

Any update about this PR approval? SimpleJdbcUpdate would come in handy.

Comment From: benelog

@snicoll This PR widely affects AbstractJdbcInsert, TableMetaDataContext. As I mentioned on the JIRA issue, this task may be suitable for maintainers of Spring framework.

https://jira.spring.io/browse/SPR-4691?focusedCommentId=128931&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-128931

I resolved conflicts, but feel free to close the PR. I expect that the Spring framework team will solve it in a better way.

Comment From: benelog

Since Spring Data JDBC is considered a better alternative to SimpleJdbcUpdate, I will close this PR.

Comment From: sasynkamil

Since Spring Data JDBC is considered a better alternative to SimpleJdbcUpdate, I will close this PR.

Isn't 'Spring Data JDBC' higher level of abstraction than 'Spring JDBC'?

Comment From: benelog

@sasynkamil You're right. My comment was about my experiences. After using Spring Data JDBC, I don't need the SimpleJdbcUpdate any more, so I closed this PR.