Dave Syer opened SPR-7363 and commented
JDBC data source initializer should ignore empty strings. It trims() the SQL queries in the wrong place or the wrong way, so that if there is a line in the input with a trailing space, it sends an empty string to the database as a query. Some databases are OK with this but Oracle (in particular) barfs.
Referenced from: commits a8133a9