Your SQL syntax is incorrect. Make sure the SQL you are passing to the PreparedStatement is correct SQL syntax (for example, AES_ENCRYPT is typically called without the equals sign - should also make...