<select id="getResByName" resultClass="Resources" parameterClass="java.lang.String"> select ID id,RESNAME resname from DIR_RESOURCES where RESNAME = #value# ; ...
### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to us...