com.sybase.jdbc2.jdbc.SybSQLException: FOR UPDATE can not be used in a
SELECT which is not part of the declaration of a cursor or which is not
inside a stored procedure.
You have a different solution? A short tip here would help you and many other users who saw this issue last week.