Displaying 1 result from an estimated 1 matches for "jruby_home".
Did you mean:
ruby_home
2010 Oct 28
2
ActiveRecord JDBC error Generated keys not requested
I''m getting the following error while connecting to mysql using
activerecord-jdbcmysql-adapter (1.0.2). Rails 3.0.1.
ActiveRecord::JDBCError: Generated keys not requested. You need to
specify Statement.RETURN_GENERATED_KEYS to Statement.executeUpdate()
or Connection.prepareStatement().: SET SQL_AUTO_IS_NULL=0
This occurs not matter what application I run it in to e.g. rake,
rails