因为sql语句不能太长啊。
你要用 PreparedStatement 来实现。搜索一下相关的帖子。
http://community.csdn.net/Expert/topic/3266/3266501.xml
http://community.csdn.net/Expert/topic/3910/3910253.xml