I should print ten questions of a questionnaire only that comes to the third question and it stops and gives me this error. What can be the cause?
org.postgresql.util.PSQLException: Unterminated string literal started at position 150 in SQL SELECT * FROM domandarisposta WHERE domandachiusa='Dove si trova l'Estonia?' AND insegnamento='geografia' AND dataprova='12-12-12' AND docente='Buffon'