This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I do not want to have to vary the number of variables as the code gets messy. How can I designate a value that is not to be changed?
In mySQL, the command update table col=col; keeps col unchanged but if I use setString, PreparedStatement supplies update table col='col' which changes the value or gives exception if other then string. Is it possible to do what I am trying to do?