com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'join,pic from hd_xyhd where hd_id=2'
at line 1
是由于SQL关键字冲突,我sql语句中有一个字段是join,加入就报错,改掉后就不报错了。