Running execute with the postgres jdbc driver like so

  def self.up
    execute('INSERT INTO foo (a,b) VALUES (1,2) RETURNING (id)')
  end

results in the following error

    ActiveRecord::ActiveRecordError: A result was returned when none
was expected.: INSERT INTO foo (a,b) VALUES (1,2) RETURNING (id)

Any suggestions?
_______________________________________________
Jruby-extras-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/jruby-extras-devel

Reply via email to