Carey Brown wrote:Its been a while since I did some JDBC work so check me on this.
Rob Camick wrote:Already asked and answered hours ago: https://stackoverflow.com/questions/52671116/updating-mysql-table-using-where-parameter-from-jtable-cell/52672310#52672310
In fact the same answer was given there before you even posted the question here.
This is why we get so frustrated when you cross post the same question:
1. You don't even take the time to read the answers on the other forums.
2. You don't even take the time to let people know the problem has been solved.
Carey Brown wrote:At Code Ranch we don't have a problem with cross posting but to be polite a comment mentioning that this is a cross post is appreciated.
Carey Brown wrote:We have quite a few members for whom English is not their native language. We all seem to survive it and I wouldn't let that stop you from coming back again.
I wasnt able to try to figure out that the SQL Command should be moved outside the for loop, for it to be working,
Whatever you say buddy! And I believe this tiny ad too:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your databasehttps://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database