Running multiple SQL statements from Groovy

后端 未结 3 661
遇见更好的自我
遇见更好的自我 2021-01-13 00:17

I\'m having problems running multiple SQL statements in one activaction from Groovy.

sql = Sql.newInstance(\"jdbc:mysql://localhost/\", \"usre\", \"pass\", \         


        
3条回答
  •  一个人的身影
    2021-01-13 01:01

    Paul King, one of the Groovy developers, commented on the issue I opened that you can tell mysql to allow multiple statements (this is not necessarily supported by other RDBMS)

提交回复
热议问题