CREATE DATABASE statement not allowed within multi-statement transaction.
How do i create a new database using data source of JBoss.
On executing create database statement i get the above error.
con.setAutoCommit(false) could have prevented that, but that is not allowed i guess in the app server scenario.