# File lib/jdbc_adapter/jdbc_hsqldb.rb, line 161 def _execute(sql, name = nil) if ::ActiveRecord::ConnectionAdapters::JdbcConnection::select?(sql) @connection.execute_query(sql) elsif ::ActiveRecord::ConnectionAdapters::JdbcConnection::insert?(sql) insert(sql, name) else @connection.execute_update(sql) end end