Normally, this can be found in the ResultSet metadata, since a computed column will be read-only.
java.sql.ResultSetMetData.isReadOnly(int index)
This is what pablosaraiva specifies in his comment.