java.sql.BatchUpdateException

Incorrect syntax near 'db_name'. Stack trace is :

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web27

  • via jtds by mhilpert
    ,
  • Stack trace

    • java.sql.BatchUpdateException: Incorrect syntax near 'db_name'. Stack trace is : at net.sourceforge.jtds.jdbc.JtdsStatement.executeBatch(JtdsStatement.java:944) at org.springframework.jdbc.core.JdbcTemplate$4.doInPreparedStatement(JdbcTemplate.java:797) at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:499) at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:528)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    oddodd
    2 times, last one