Skip to content

Conversation

@benelog
Copy link
Contributor

@benelog benelog commented Jun 8, 2016

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo configuaration -> configuration

@benelog
Copy link
Contributor Author

benelog commented Jun 15, 2016

@snicoll
Is there any feedback on this?

@snicoll
Copy link
Member

snicoll commented Jun 15, 2016

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

@snicoll snicoll self-assigned this Jun 15, 2016
@snicoll snicoll changed the title Add SimpleJdbcUpdate SPR-4691 - Add SimpleJdbcUpdate Jul 5, 2016
@kervin521
Copy link

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

@snicoll
Copy link
Member

snicoll commented Nov 23, 2016

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

@danesavot
Copy link

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

@benelog
Copy link
Contributor Author

benelog commented Dec 7, 2017

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

A SimpleJdbcUpdate provides easy update capabilities for a table. This is
similar to SimpleJdbcInsert.

This feature is originated from
https://github.com/florentp/spring-simplejdbcupdate

Issue: SPR-4691
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Jan 24, 2019
@benelog
Copy link
Contributor Author

benelog commented Feb 14, 2019

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

@benelog benelog closed this Feb 14, 2019
@sasynkamil
Copy link

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

@benelog
Copy link
Contributor Author

benelog commented Mar 21, 2021

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

@sbrannen sbrannen added status: invalid An issue that we don't feel is valid and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: invalid An issue that we don't feel is valid

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants