Using jdbcmysql with Identity Map off Loaded suite /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/rake-10.0.3/lib/rake/rake_test_loader Started ......E =============================================================================== Error: test_not_specifying_database_name_for_cross_database_selects(ActiveRecord::AdapterTest) ActiveRecord::ConnectionNotEstablished: no connection available arjdbc/jdbc/RubyJdbcConnection.java:250:in `rollback' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:355:in `rollback_db_transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:880:in `teardown_fixtures' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:878:in `teardown_fixtures' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:408:in `_run__1113969324__teardown__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_teardown_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:85:in `run' =============================================================================== ..F =============================================================================== Failure: is not true. test_table_exists?(ActiveRecord::AdapterTest) /home/kares/workspace/github/rails/activerecord/test/cases/adapter_test.rb:20:in `test_table_exists?' 17: def test_table_exists? 18: assert @connection.table_exists?("accounts") 19: assert !@connection.table_exists?("nonexistingtable") => 20: assert !@connection.table_exists?(nil) 21: end 22: 23: def test_indexes /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__1113969324__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' =============================================================================== ......................E =============================================================================== Error: test_has_default_should_return_false_for_blog_and_test_data_types(ActiveRecord::ConnectionAdapters::ColumnDefinitionTest) NoMethodError: undefined method `new' for ArJdbc::MySQL::Column:Module /home/kares/workspace/github/rails/activerecord/test/cases/column_definition_test.rb:85:in `test_has_default_should_return_false_for_blog_and_test_data_types' 82: end 83: 84: def test_has_default_should_return_false_for_blog_and_test_data_types => 85: blob_column = MysqlAdapter::Column.new("title", nil, "blob") 86: assert !blob_column.has_default? 87: 88: text_column = MysqlAdapter::Column.new("title", nil, "text") /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__844580802__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' =============================================================================== ..F =============================================================================== Failure: exception expected but was )>. test_should_not_set_default_for_blob_and_text_data_types(ActiveRecord::ConnectionAdapters::ColumnDefinitionTest) /home/kares/workspace/github/rails/activerecord/test/cases/column_definition_test.rb:69:in `test_should_not_set_default_for_blob_and_text_data_types' 66: end 67: 68: def test_should_not_set_default_for_blob_and_text_data_types => 69: assert_raise ArgumentError do 70: MysqlAdapter::Column.new("title", "a", "blob") 71: end 72: /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__844580802__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' =============================================================================== E =============================================================================== Error: test_should_set_default_for_mysql_binary_data_types(ActiveRecord::ConnectionAdapters::ColumnDefinitionTest) NoMethodError: undefined method `new' for ArJdbc::MySQL::Column:Module /home/kares/workspace/github/rails/activerecord/test/cases/column_definition_test.rb:61:in `test_should_set_default_for_mysql_binary_data_types' 58: 59: if current_adapter?(:MysqlAdapter) 60: def test_should_set_default_for_mysql_binary_data_types => 61: binary_column = MysqlAdapter::Column.new("title", "a", "binary(1)") 62: assert_equal "a", binary_column.default 63: 64: varbinary_column = MysqlAdapter::Column.new("title", "a", "varbinary(1)") /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__844580802__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' =============================================================================== ............................................................................... ..............................................................E =============================================================================== Error: test_adding_indexes(BulkAlterTableMigrationsTest) NoMethodError: undefined method `bulk_change_table' for # /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/schema_statements.rb:241:in `change_table' /home/kares/workspace/github/rails/activerecord/test/cases/migration_test.rb:2162:in `with_bulk_change_table' /home/kares/workspace/github/rails/activerecord/test/cases/migration_test.rb:2089:in `test_adding_indexes' 2086: end 2087: 2088: def test_adding_indexes => 2089: with_bulk_change_table do |t| 2090: t.string :username 2091: t.string :name 2092: t.integer :age /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__53950348__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== F =============================================================================== Failure: 0 instead of 1 queries were executed. <1> expected but was <0>. test_adding_multiple_columns(BulkAlterTableMigrationsTest) /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/test_case.rb:49:in `assert_queries' /home/kares/workspace/github/rails/activerecord/test/cases/migration_test.rb:2055:in `test_adding_multiple_columns' 2052: end 2053: 2054: def test_adding_multiple_columns => 2055: assert_queries(1) do 2056: with_bulk_change_table do |t| 2057: t.column :name, :string 2058: t.string :qualification, :experience /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__53950348__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_changing_columns(BulkAlterTableMigrationsTest) NoMethodError: undefined method `bulk_change_table' for # /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/schema_statements.rb:241:in `change_table' /home/kares/workspace/github/rails/activerecord/test/cases/migration_test.rb:2162:in `with_bulk_change_table' /home/kares/workspace/github/rails/activerecord/test/cases/migration_test.rb:2134:in `test_changing_columns' 2131: end 2132: 2133: def test_changing_columns => 2134: with_bulk_change_table do |t| 2135: t.string :name 2136: t.date :birthdate 2137: end /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__53950348__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_removing_columns(BulkAlterTableMigrationsTest) NoMethodError: undefined method `bulk_change_table' for # /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/schema_statements.rb:241:in `change_table' /home/kares/workspace/github/rails/activerecord/test/cases/migration_test.rb:2162:in `with_bulk_change_table' /home/kares/workspace/github/rails/activerecord/test/cases/migration_test.rb:2071:in `test_removing_columns' 2068: end 2069: 2070: def test_removing_columns => 2071: with_bulk_change_table do |t| 2072: t.string :qualification, :experience 2073: end 2074: /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__53950348__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_removing_index(BulkAlterTableMigrationsTest) NoMethodError: undefined method `bulk_change_table' for # /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/schema_statements.rb:241:in `change_table' /home/kares/workspace/github/rails/activerecord/test/cases/migration_test.rb:2162:in `with_bulk_change_table' /home/kares/workspace/github/rails/activerecord/test/cases/migration_test.rb:2113:in `test_removing_index' 2110: end 2111: 2112: def test_removing_index => 2113: with_bulk_change_table do |t| 2114: t.string :name 2115: t.index :name 2116: end /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__53950348__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== ............................................................................... .................................................................E =============================================================================== Error: test_arel_table_engines(MultipleDbTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: SAVEPOINT active_record_1 does not exist: ROLLBACK TO SAVEPOINT active_record_1 arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:254:in `rollback_to_savepoint' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:232:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:224:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:491:in `create_fixtures' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:265:in `disable_referential_integrity' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:476:in `create_fixtures' /home/kares/workspace/github/rails/activerecord/test/cases/helper.rb:113:in `create_fixtures' /home/kares/workspace/github/rails/activerecord/test/cases/multiple_db_test.rb:12:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__402142754__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_associations(MultipleDbTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: SAVEPOINT active_record_1 does not exist: ROLLBACK TO SAVEPOINT active_record_1 arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:254:in `rollback_to_savepoint' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:232:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:224:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:491:in `create_fixtures' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:265:in `disable_referential_integrity' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:476:in `create_fixtures' /home/kares/workspace/github/rails/activerecord/test/cases/helper.rb:113:in `create_fixtures' /home/kares/workspace/github/rails/activerecord/test/cases/multiple_db_test.rb:12:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__402142754__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_connected(MultipleDbTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: SAVEPOINT active_record_1 does not exist: ROLLBACK TO SAVEPOINT active_record_1 arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:254:in `rollback_to_savepoint' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:232:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:224:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:491:in `create_fixtures' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:265:in `disable_referential_integrity' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:476:in `create_fixtures' /home/kares/workspace/github/rails/activerecord/test/cases/helper.rb:113:in `create_fixtures' /home/kares/workspace/github/rails/activerecord/test/cases/multiple_db_test.rb:12:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__402142754__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_connection(MultipleDbTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: SAVEPOINT active_record_1 does not exist: ROLLBACK TO SAVEPOINT active_record_1 arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:254:in `rollback_to_savepoint' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:232:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:224:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:491:in `create_fixtures' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:265:in `disable_referential_integrity' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:476:in `create_fixtures' /home/kares/workspace/github/rails/activerecord/test/cases/helper.rb:113:in `create_fixtures' /home/kares/workspace/github/rails/activerecord/test/cases/multiple_db_test.rb:12:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__402142754__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_course_connection_should_survive_dependency_reload(MultipleDbTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: SAVEPOINT active_record_1 does not exist: ROLLBACK TO SAVEPOINT active_record_1 arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:254:in `rollback_to_savepoint' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:232:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:224:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:491:in `create_fixtures' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:265:in `disable_referential_integrity' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:476:in `create_fixtures' /home/kares/workspace/github/rails/activerecord/test/cases/helper.rb:113:in `create_fixtures' /home/kares/workspace/github/rails/activerecord/test/cases/multiple_db_test.rb:12:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__402142754__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_find(MultipleDbTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: SAVEPOINT active_record_1 does not exist: ROLLBACK TO SAVEPOINT active_record_1 arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:254:in `rollback_to_savepoint' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:232:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:224:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:491:in `create_fixtures' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:265:in `disable_referential_integrity' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:476:in `create_fixtures' /home/kares/workspace/github/rails/activerecord/test/cases/helper.rb:113:in `create_fixtures' /home/kares/workspace/github/rails/activerecord/test/cases/multiple_db_test.rb:12:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__402142754__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_proper_connection(MultipleDbTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: SAVEPOINT active_record_1 does not exist: ROLLBACK TO SAVEPOINT active_record_1 arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:254:in `rollback_to_savepoint' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:232:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:224:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:491:in `create_fixtures' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:265:in `disable_referential_integrity' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:476:in `create_fixtures' /home/kares/workspace/github/rails/activerecord/test/cases/helper.rb:113:in `create_fixtures' /home/kares/workspace/github/rails/activerecord/test/cases/multiple_db_test.rb:12:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__402142754__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_transactions_across_databases(MultipleDbTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: SAVEPOINT active_record_1 does not exist: ROLLBACK TO SAVEPOINT active_record_1 arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:254:in `rollback_to_savepoint' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:232:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:224:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:491:in `create_fixtures' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:265:in `disable_referential_integrity' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:476:in `create_fixtures' /home/kares/workspace/github/rails/activerecord/test/cases/helper.rb:113:in `create_fixtures' /home/kares/workspace/github/rails/activerecord/test/cases/multiple_db_test.rb:12:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__402142754__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== ............................................................................... ............................................................................... ............................................................................... ..E =============================================================================== Error: test_saving_nested_association(BelongsToAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:13', 'foo', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:13') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /home/kares/workspace/github/rails/activerecord/test/cases/associations/belongs_to_associations_test.rb:730:in `test_saving_nested_association' 727: reader.post_id = post2.id 728: person.readers = [reader] 729: => 730: assert person.save 731: assert_equal reader.post_id, post2.id 732: end 733: end /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__1356189163__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== ...........................F =============================================================================== Failure: Exception raised: ActiveRecord::StatementInvalid() test_eager_association_loading_grafts_stashed_associations_to_correct_parent(CascadedEagerLoadingTest) /home/kares/workspace/github/rails/activerecord/test/cases/associations/cascaded_eager_loading_test.rb:46:in `test_eager_association_loading_grafts_stashed_associations_to_correct_parent' 43: end 44: 45: def test_eager_association_loading_grafts_stashed_associations_to_correct_parent => 46: assert_nothing_raised do 47: Person.eager_load(:primary_contact => :primary_contact).where('primary_contacts_people_2.first_name = ?', 'Susan').order('people.id').all 48: end 49: assert_equal people(:michael), Person.eager_load(:primary_contact => :primary_contact).where('primary_contacts_people_2.first_name = ?', 'Susan').order('people.id').first /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__2039965662__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== ............................................................................... ............................E =============================================================================== Error: test_limited_eager_with_numeric_in_association(EagerAssociationTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'people.last_name' in 'field list': SELECT `people`.`id` AS t0_r0, `people`.`first_name` AS t0_r1, `people`.`primary_contact_id` AS t0_r2, `people`.`gender` AS t0_r3, `people`.`number1_fan_id` AS t0_r4, `people`.`lock_version` AS t0_r5, `people`.`comments` AS t0_r6, `people`.`followers_count` AS t0_r7, `people`.`best_friend_id` AS t0_r8, `people`.`best_friend_of_id` AS t0_r9, `people`.`insures` AS t0_r10, `people`.`created_at` AS t0_r11, `people`.`updated_at` AS t0_r12, `people`.`last_name` AS t0_r13, `readers`.`id` AS t1_r0, `readers`.`post_id` AS t1_r1, `readers`.`person_id` AS t1_r2, `readers`.`skimmer` AS t1_r3, `primary_contacts_people`.`id` AS t2_r0, `primary_contacts_people`.`first_name` AS t2_r1, `primary_contacts_people`.`primary_contact_id` AS t2_r2, `primary_contacts_people`.`gender` AS t2_r3, `primary_contacts_people`.`number1_fan_id` AS t2_r4, `primary_contacts_people`.`lock_version` AS t2_r5, `primary_contacts_people`.`comments` AS t2_r6, `primary_contacts_people`.`followers_count` AS t2_r7, `primary_contacts_people`.`best_friend_id` AS t2_r8, `primary_contacts_people`.`best_friend_of_id` AS t2_r9, `primary_contacts_people`.`insures` AS t2_r10, `primary_contacts_people`.`created_at` AS t2_r11, `primary_contacts_people`.`updated_at` AS t2_r12, `primary_contacts_people`.`last_name` AS t2_r13, `number1_fans_people`.`id` AS t3_r0, `number1_fans_people`.`first_name` AS t3_r1, `number1_fans_people`.`primary_contact_id` AS t3_r2, `number1_fans_people`.`gender` AS t3_r3, `number1_fans_people`.`number1_fan_id` AS t3_r4, `number1_fans_people`.`lock_version` AS t3_r5, `number1_fans_people`.`comments` AS t3_r6, `number1_fans_people`.`followers_count` AS t3_r7, `number1_fans_people`.`best_friend_id` AS t3_r8, `number1_fans_people`.`best_friend_of_id` AS t3_r9, `number1_fans_people`.`insures` AS t3_r10, `number1_fans_people`.`created_at` AS t3_r11, `number1_fans_people`.`updated_at` AS t3_r12, `number1_fans_people`.`last_name` AS t3_r13 FROM `people` LEFT OUTER JOIN `readers` ON `readers`.`person_id` = `people`.`id` LEFT OUTER JOIN `people` `primary_contacts_people` ON `primary_contacts_people`.`id` = `people`.`primary_contact_id` LEFT OUTER JOIN `people` `number1_fans_people` ON `number1_fans_people`.`id` = `people`.`number1_fan_id` WHERE `people`.`id` IN (2, 3) AND (number1_fans_people.first_name like 'M%') ORDER BY people.id arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:319:in `select' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:63:in `select_all' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation/finder_methods.rb:212:in `find_with_associations' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:174:in `exec_queries' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/identity_map.rb:72:in `without' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:173:in `exec_queries' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:160:in `to_a' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/explain.rb:41:in `logging_query_plan' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:159:in `to_a' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation/finder_methods.rb:159:in `all' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation/finder_methods.rb:105:in `find' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation/finder_methods.rb:101:in `find' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/querying.rb:5:in `find' /home/kares/workspace/github/rails/activerecord/test/cases/associations/eager_test.rb:785:in `test_limited_eager_with_numeric_in_association' 782: end 783: 784: def test_limited_eager_with_numeric_in_association => 785: assert_equal people(:david, :susan), Person.find(:all, :include => [:readers, :primary_contact, :number1_fan], :conditions => "number1_fans_people.first_name like 'M%'", :order => 'people.id', :limit => 2, :offset => 0) 786: end 787: 788: def test_preload_with_interpolation /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__2063980537__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== .................................F =============================================================================== Failure: 6 instead of 0 queries were executed. Queries: SELECT `memberships`.* FROM `memberships` WHERE `memberships`.`type` IN ('CurrentMembership') AND `memberships`.`member_id` = 1 LIMIT 1 SELECT `memberships`.* FROM `memberships` WHERE `memberships`.`type` IN ('CurrentMembership') AND `memberships`.`member_id` = 2 LIMIT 1 SELECT `memberships`.* FROM `memberships` WHERE `memberships`.`type` IN ('CurrentMembership') AND `memberships`.`member_id` = 3 LIMIT 1 SELECT `clubs`.* FROM `clubs` WHERE `clubs`.`id` = 1068705287 LIMIT 1 SELECT `clubs`.* FROM `clubs` WHERE `clubs`.`id` = 1068705287 LIMIT 1 SELECT `clubs`.* FROM `clubs` WHERE `clubs`.`id` = 479391852 LIMIT 1. <0> expected but was <6>. test_preloading_a_through_association_twice_does_not_reset_it(EagerAssociationTest) /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/test_case.rb:49:in `assert_queries' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/test_case.rb:55:in `assert_no_queries' /home/kares/workspace/github/rails/activerecord/test/cases/associations/eager_test.rb:1124:in `test_preloading_a_through_association_twice_does_not_reset_it' 1121: 1122: test "preloading a through association twice does not reset it" do 1123: members = Member.includes(:current_membership => :club).includes(:club).to_a => 1124: assert_no_queries { 1125: assert_equal 3, members.map(&:current_membership).map(&:club).size 1126: } 1127: end /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__2063980537__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== ............................................................................... ............................................................................... ............E =============================================================================== Error: test_create_resets_cached_counters(HasManyAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:21', 'tenderlove', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:21') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:104:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:56:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:33:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:264:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:264:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:41:in `create!' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_associations_test.rb:240:in `test_create_resets_cached_counters' 237: end 238: 239: def test_create_resets_cached_counters => 240: person = Person.create!(:first_name => 'tenderlove') 241: post = Post.first 242: 243: assert_equal [], person.readers /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__1514814261__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== ...............................................................E =============================================================================== Error: test_find_or_create_by_resets_cached_counters(HasManyAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:23', 'tenderlove', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:23') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:104:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:56:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:33:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:264:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:264:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:41:in `create!' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_associations_test.rb:255:in `test_find_or_create_by_resets_cached_counters' 252: end 253: 254: def test_find_or_create_by_resets_cached_counters => 255: person = Person.create! :first_name => 'tenderlove' 256: post = Post.first 257: 258: assert_equal [], person.readers /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__1514814261__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== ................................................................E =============================================================================== Error: test_add_two_instance_and_then_deleting(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:24', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:24') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_associate_existing(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:24', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:24') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_associate_existing_record_twice_should_add_records_twice(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:24', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:24') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_associate_existing_record_twice_should_add_to_target_twice(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_associate_existing_with_nonstandard_primary_key_on_belongs_to(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_associate_existing_with_strict_mass_assignment_sanitizer(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_associate_new_by_building(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_associate_with_create(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_associate_with_create_and_invalid_options(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_associate_with_create_and_no_options(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_associate_with_create_and_valid_options(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_associate_with_create_bang_and_invalid_options(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_associate_with_create_bang_and_valid_options(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_associate_with_create_exclamation_and_no_options(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_associate_with_create_with_through_having_conditions(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_associating_new(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_association_callback_ordering(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_association_proxy_transaction_method_starts_transaction_in_association_class(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_attributes_are_being_set_when_initialized_from_hm_through_association_with_multiple_where_clauses(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_attributes_are_being_set_when_initialized_from_hm_through_association_with_where_clause(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_belongs_to_with_dependent_delete_all(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_belongs_to_with_dependent_destroy(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_belongs_to_with_dependent_nullify(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_build_a_model_from_hm_through_association_with_where_clause(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_build_then_save_with_has_many_inverse(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_build_then_save_with_has_one_inverse(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_can_update_through_association(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_clear_associations(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_collection_build_with_nonstandard_primary_key_on_belongs_to(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_collection_create_with_nonstandard_primary_key_on_belongs_to(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_collection_delete_with_nonstandard_primary_key_on_belongs_to(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_collection_singular_ids_getter_with_string_primary_keys(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_collection_singular_ids_setter(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_collection_singular_ids_setter_raises_exception_when_invalid_ids_set(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_collection_singular_ids_setter_with_string_primary_keys(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_count_has_many_through_with_named_scope(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_count_with_include_should_alias_join_table(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_counting_should_not_fire_sql_if_parent_is_unsaved(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:25', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:25') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_create_bang_returns_falsy_when_join_record_has_errors(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_create_bang_should_raise_exception_when_join_record_has_errors(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_create_has_many_through_with_default_scope_on_join_model(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_create_on_new_record(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_create_should_not_raise_exception_when_join_record_has_errors(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_create_with_conditions_hash_on_through_association(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_delete_association(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_delete_through_belongs_to_with_dependent_delete_all(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_delete_through_belongs_to_with_dependent_destroy(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_delete_through_belongs_to_with_dependent_nullify(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_deleting_from_has_many_through_a_belongs_to_should_not_try_to_update_counter(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_destroy_all(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_destroy_association(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_dynamic_find_should_respect_association_include(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_explicitly_joining_join_table(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_find_on_has_many_association_collection_with_include_and_conditions(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_get_collection_singular_ids_on_has_many_through_with_conditions_and_include(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_get_has_many_through_belongs_to_ids_with_conditions(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_get_ids(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_get_ids_for_has_many_through_with_conditions_should_not_preload(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_get_ids_for_loaded_associations(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_get_ids_for_unloaded_associations_does_not_load_them(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_has_many_association_through_a_belongs_to_association(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_has_many_association_through_a_belongs_to_association_where_the_association_doesnt_exist(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_has_many_association_through_a_has_many_association_to_self(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_has_many_association_through_a_has_many_association_with_nonstandard_primary_keys(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_has_many_through_belongs_to_should_update_when_the_through_foreign_key_changes(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_has_many_through_has_one_reflection(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_has_many_through_polymorphic_with_primary_key_option(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_has_many_through_with_default_scope_on_join_model(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_has_many_through_with_polymorphic_source(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_has_many_through_with_primary_key_option(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_include?(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_include_method_in_association_through_should_return_true_for_instance_added_with_build(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_include_method_in_association_through_should_return_true_for_instance_added_with_nested_builds(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_inner_join_with_quoted_table_name(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_interpolated_conditions(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_joining_has_many_through_belongs_to(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_joining_has_many_through_with_uniq(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_modifying_has_many_through_has_one_reflection_should_raise(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_preloading_empty_through_association_via_joins(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_primary_key_option_on_source(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_push_with_invalid_join_record(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_push_with_invalid_record(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_replace_association(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_replace_by_id_order_is_preserved(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_replace_order_is_preserved(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_save_bang_should_raise_exception_when_join_record_has_errors(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_save_should_not_raise_exception_when_join_record_has_errors(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_select_chosen_fields_only(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_should_raise_exception_for_destroying_mismatching_records(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_size_of_through_association_should_increase_correctly_when_has_many_association_is_added(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_through_association_readonly_should_be_false(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_update_counter_caches_on_delete(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:26', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:26') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_update_counter_caches_on_delete_with_dependent_destroy(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:27', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:27') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_update_counter_caches_on_delete_with_dependent_nullify(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:27', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:27') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_update_counter_caches_on_replace_association(HasManyThroughAssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:27', 'gummy', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:27') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb:35:in `setup' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:71:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__235532585__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== ............................................................................... ............................................................................... .....................................................E =============================================================================== Error: test_include_polymorphic_has_one_defined_in_abstract_parent(AssociationsJoinModelTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Incorrect table name '': SHOW INDEX FROM `` WHERE Key_name = 'PRIMARY' arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:318:in `pk_and_sequence_for' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:356:in `primary_key' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/schema_cache.rb:22:in `initialize' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/primary_key.rb:76:in `get_primary_key' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/primary_key.rb:60:in `reset_primary_key' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/primary_key.rb:49:in `primary_key' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/reflection.rb:366:in `primary_key' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/reflection.rb:220:in `active_record_primary_key' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/associations/preloader/has_one.rb:11:in `owner_key_name' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/associations/preloader/association.rb:59:in `owners_by_key' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/associations/preloader/association.rb:58:in `owners_by_key' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/associations/preloader/association.rb:71:in `associated_records_by_owner' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/associations/preloader/singular_association.rb:9:in `preload' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/associations/preloader/association.rb:19:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/associations/preloader.rb:132:in `preload_one' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/associations/preloader.rb:131:in `preload_one' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/associations/preloader.rb:130:in `preload_one' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/associations/preloader.rb:109:in `preload' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/associations/preloader.rb:98:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/associations/preloader.rb:98:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:181:in `exec_queries' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:180:in `exec_queries' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:160:in `to_a' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/explain.rb:41:in `logging_query_plan' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:159:in `to_a' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation/finder_methods.rb:380:in `find_first' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation/finder_methods.rb:122:in `first' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation/finder_methods.rb:266:in `find_by_attributes' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/dynamic_matchers.rb:50:in `method_missing' /home/kares/workspace/github/rails/activerecord/test/cases/associations/join_model_test.rb:265:in `test_include_polymorphic_has_one_defined_in_abstract_parent' 262: end 263: 264: def test_include_polymorphic_has_one_defined_in_abstract_parent => 265: item = Item.find_by_id(items(:dvd).id, :include => :tagging) 266: tagging = taggings(:godfather) 267: assert_no_queries do 268: assert_equal tagging, item.tagging /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__1751859908__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== ............................................................................... ............E =============================================================================== Error: test_should_construct_new_finder_sql_after_create(AssociationsTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:33', 'clark', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:33') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:104:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:56:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:33:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:264:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:264:in `save!' /home/kares/workspace/github/rails/activerecord/test/cases/associations_test.rb:90:in `test_should_construct_new_finder_sql_after_create' 87: def test_should_construct_new_finder_sql_after_create 88: person = Person.new :first_name => 'clark' 89: assert_equal [], person.readers.all => 90: person.save! 91: reader = Reader.create! :person => person, :post => Post.new(:title => "foo", :body => "bar") 92: assert person.readers.find(reader.id) 93: end /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__234547380__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== ...............................................F =============================================================================== Failure: is not true. test_question_attributes_respect_access_control(AttributeMethodsTest) /home/kares/workspace/github/rails/activerecord/test/cases/attribute_methods_test.rb:704:in `test_question_attributes_respect_access_control' 701: topic = @target.new(:title => "Isaac Newton's pants") 702: assert !topic.respond_to?(:title?) 703: exception = assert_raise(NoMethodError) { topic.title? } => 704: assert exception.message.include?("private method") 705: assert topic.send(:title?) 706: end 707: /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__628521042__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== ........F =============================================================================== Failure: <"0"> expected but was <0>. test_read_attributes_before_type_cast_on_boolean(AttributeMethodsTest) /home/kares/workspace/github/rails/activerecord/test/cases/attribute_methods_test.rb:172:in `test_read_attributes_before_type_cast_on_boolean' 169: bool = Boolean.create({ "value" => false }) 170: if RUBY_PLATFORM =~ /java/ 171: # JRuby will return the value before typecast as string => 172: assert_equal "0", bool.reload.attributes_before_type_cast["value"] 173: else 174: assert_equal 0, bool.reload.attributes_before_type_cast["value"] 175: end /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__628521042__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== .F =============================================================================== Failure: is not true. test_read_attributes_respect_access_control(AttributeMethodsTest) /home/kares/workspace/github/rails/activerecord/test/cases/attribute_methods_test.rb:684:in `test_read_attributes_respect_access_control' 681: topic = @target.new(:title => "The pros and cons of programming naked.") 682: assert !topic.respond_to?(:title) 683: exception = assert_raise(NoMethodError) { topic.title } => 684: assert exception.message.include?("private method") 685: assert_equal "I'm private", topic.send(:title) 686: end 687: /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__628521042__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== .........................F =============================================================================== Failure: is not true. test_write_attributes_respect_access_control(AttributeMethodsTest) /home/kares/workspace/github/rails/activerecord/test/cases/attribute_methods_test.rb:694:in `test_write_attributes_respect_access_control' 691: topic = @target.new 692: assert !topic.respond_to?(:title=) 693: exception = assert_raise(NoMethodError) { topic.title = "Pants"} => 694: assert exception.message.include?("private method") 695: topic.send(:title=, "Very large pants") 696: end 697: /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__628521042__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== ............................................................................... ..........................................F =============================================================================== Failure: <"my_type"> expected but was <"type">. test_dont_clear_inheritnce_column_when_setting_explicitly(BasicsTest) /home/kares/workspace/github/rails/activerecord/test/cases/base_test.rb:1550:in `test_dont_clear_inheritnce_column_when_setting_explicitly' 1547: Joke.reset_column_information 1548: after_inherit = Joke.inheritance_column 1549: => 1550: assert_equal before_inherit, after_inherit unless before_inherit.blank? && after_inherit.blank? 1551: end 1552: 1553: def test_set_table_name_symbol_converted_to_string /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__846613484__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== ............................................................................... ............................................................................... ............................................................................... ............................................................................... ............................................................................... ............................................................................... ..............................................................................E =============================================================================== Error: test_ignores_belongs_to_symbols_if_association_and_foreign_key_are_named_the_same(FoxyFixturesTest) StandardError: No fixture with name 'david' found for table 'developers' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:805:in `setup_fixture_accessors' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/fixtures.rb:797:in `setup_fixture_accessors' /home/kares/workspace/github/rails/activerecord/test/cases/fixtures_test.rb:652:in `test_ignores_belongs_to_symbols_if_association_and_foreign_key_are_named_the_same' 649: end 650: 651: def test_ignores_belongs_to_symbols_if_association_and_foreign_key_are_named_the_same => 652: assert_equal(developers(:david), computers(:workstation).developer) 653: end 654: 655: def test_supports_join_tables /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__1535069165__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== ..................................................................F =============================================================================== Failure: expected to not be nil. test_around_filter_from_observer_should_accept_block(LifecycleTest) /home/kares/workspace/github/rails/activerecord/test/cases/lifecycle_test.rb:231:in `test_around_filter_from_observer_should_accept_block' 228: topic = AroundTopic.new 229: topic.save 230: assert_nil observer.topic_ids.first => 231: assert_not_nil observer.topic_ids.last 232: end 233: 234: test "able to disable observers" do /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__733693511__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== ......E =============================================================================== Error: test_observing_subclasses(LifecycleTest) ActiveRecord::RecordNotFound: Couldn't find SpecialDeveloper with id=1 /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation/finder_methods.rb:343:in `find_one' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation/finder_methods.rb:314:in `find_with_ids' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation/finder_methods.rb:107:in `find' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/querying.rb:5:in `find' /home/kares/workspace/github/rails/activerecord/test/cases/lifecycle_test.rb:167:in `test_observing_subclasses' 164: def test_observing_subclasses 165: multi_observer = MultiObserver.instance 166: => 167: developer = SpecialDeveloper.find(1) 168: assert_equal developer.name, multi_observer.record.name 169: 170: klass = Class.new(Developer) /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__733693511__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_observing_two_classes(LifecycleTest) ActiveRecord::RecordNotFound: Couldn't find Developer with id=1 /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation/finder_methods.rb:343:in `find_one' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation/finder_methods.rb:314:in `find_with_ids' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation/finder_methods.rb:107:in `find' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/querying.rb:5:in `find' /home/kares/workspace/github/rails/activerecord/test/cases/lifecycle_test.rb:160:in `test_observing_two_classes' 157: topic = Topic.find(1) 158: assert_equal topic.title, multi_observer.record.title 159: => 160: developer = Developer.find(1) 161: assert_equal developer.name, multi_observer.record.name 162: end 163: /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__733693511__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== .E =============================================================================== Error: test_lock_column_is_mass_assignable(OptimisticLockingTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:51', 'bianca', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:51') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:84:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:50:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:22:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:259:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:270:in `rollback_active_record_state!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:258:in `save' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:45:in `create' /home/kares/workspace/github/rails/activerecord/test/cases/locking_test.rb:180:in `test_lock_column_is_mass_assignable' 177: end 178: 179: def test_lock_column_is_mass_assignable => 180: p1 = Person.create(:first_name => 'bianca') 181: assert_equal 0, p1.lock_version 182: assert_equal p1.lock_version, Person.new(p1.attributes).lock_version 183: /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__1008750312__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== .E =============================================================================== Error: test_lock_destroy(OptimisticLockingTest) ActiveRecord::RecordNotFound: Couldn't find Person with id=1 /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation/finder_methods.rb:343:in `find_one' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation/finder_methods.rb:314:in `find_with_ids' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation/finder_methods.rb:107:in `find' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/querying.rb:5:in `find' /home/kares/workspace/github/rails/activerecord/test/cases/locking_test.rb:76:in `test_lock_destroy' 73: 74: # See Lighthouse ticket #1966 75: def test_lock_destroy => 76: p1 = Person.find(1) 77: p2 = Person.find(1) 78: assert_equal 0, p1.lock_version 79: assert_equal 0, p2.lock_version /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__1008750312__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_lock_exception_record(OptimisticLockingTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:51', 'mira2', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:51') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:104:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:56:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:33:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:264:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:264:in `save!' /home/kares/workspace/github/rails/activerecord/test/cases/locking_test.rb:135:in `test_lock_exception_record' 132: assert_equal 0, p1.lock_version 133: 134: p1.first_name = 'mira2' => 135: p1.save! 136: p2 = Person.find(p1.id) 137: assert_equal 0, p1.lock_version 138: assert_equal 0, p2.lock_version /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__1008750312__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_lock_existing(OptimisticLockingTest) ActiveRecord::RecordNotFound: Couldn't find Person with id=1 /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation/finder_methods.rb:343:in `find_one' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation/finder_methods.rb:314:in `find_with_ids' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation/finder_methods.rb:107:in `find' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/querying.rb:5:in `find' /home/kares/workspace/github/rails/activerecord/test/cases/locking_test.rb:60:in `test_lock_existing' 57: end 58: 59: def test_lock_existing => 60: p1 = Person.find(1) 61: p2 = Person.find(1) 62: assert_equal 0, p1.lock_version 63: assert_equal 0, p2.lock_version /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__1008750312__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_lock_new(OptimisticLockingTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:51', 'anika2', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:51') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:104:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:56:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:33:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:264:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:264:in `save!' /home/kares/workspace/github/rails/activerecord/test/cases/locking_test.rb:116:in `test_lock_new' 113: assert_equal 0, p1.lock_version 114: 115: p1.first_name = 'anika2' => 116: p1.save! 117: p2 = Person.find(p1.id) 118: assert_equal 0, p1.lock_version 119: assert_equal 0, p2.lock_version /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__1008750312__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_lock_new_with_nil(OptimisticLockingTest) ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'last_name' in 'field list': INSERT INTO `people` (`best_friend_id`, `best_friend_of_id`, `comments`, `created_at`, `first_name`, `followers_count`, `gender`, `insures`, `last_name`, `lock_version`, `number1_fan_id`, `primary_contact_id`, `updated_at`) VALUES (NULL, NULL, NULL, '2013-04-04 12:41:51', 'anika', 0, NULL, 0, NULL, 0, NULL, NULL, '2013-04-04 12:41:51') arjdbc/jdbc/RubyJdbcConnection.java:322:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:310:in `_execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:19:in `instrument' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/jdbc/adapter.rb:296:in `execute' /home/kares/workspace/github/activerecord-jdbc-adapter/lib/arjdbc/mysql/adapter.rb:274:in `exec_insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:90:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:66:in `insert' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:367:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/timestamp.rb:58:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:406:in `_run__494080496__create__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_create_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:268:in `create' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:348:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:439:in `_run__494080496__save__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_save_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/callbacks.rb:264:in `create_or_update' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/persistence.rb:104:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:56:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:33:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:264:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:264:in `save!' /home/kares/workspace/github/rails/activerecord/test/cases/locking_test.rb:150:in `test_lock_new_with_nil' 147: 148: def test_lock_new_with_nil 149: p1 = Person.new(:first_name => 'anika') => 150: p1.save! 151: p1.lock_version = nil # simulate bad fixture or column with no default 152: p1.save! 153: assert_equal 1, p1.lock_version /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__1008750312__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== E =============================================================================== Error: test_lock_repeating(OptimisticLockingTest) ActiveRecord::RecordNotFound: Couldn't find Person with id=1 /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation/finder_methods.rb:343:in `find_one' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation/finder_methods.rb:314:in `find_with_ids' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation/finder_methods.rb:107:in `find' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/querying.rb:5:in `find' /home/kares/workspace/github/rails/activerecord/test/cases/locking_test.rb:95:in `test_lock_repeating' 92: end 93: 94: def test_lock_repeating => 95: p1 = Person.find(1) 96: p2 = Person.find(1) 97: assert_equal 0, p1.lock_version 98: assert_equal 0, p2.lock_version /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__1008750312__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== ......E =============================================================================== Error: test_touch_existing_lock(OptimisticLockingTest) ActiveRecord::RecordNotFound: Couldn't find Person with id=1 /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation/finder_methods.rb:343:in `find_one' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation/finder_methods.rb:314:in `find_with_ids' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation/finder_methods.rb:107:in `find' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/querying.rb:5:in `find' /home/kares/workspace/github/rails/activerecord/test/cases/locking_test.rb:157:in `test_touch_existing_lock' 154: end 155: 156: def test_touch_existing_lock => 157: p1 = Person.find(1) 158: assert_equal 0, p1.lock_version 159: 160: p1.touch /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__1008750312__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== F =============================================================================== Failure: Exception raised: ActiveRecord::StatementInvalid() test_update_without_attributes_does_not_only_update_lock_version(OptimisticLockingTest) /home/kares/workspace/github/rails/activerecord/test/cases/locking_test.rb:221:in `test_update_without_attributes_does_not_only_update_lock_version' 218: # Useful for partial updates, don't only update the lock_version if there 219: # is nothing else being updated. 220: def test_update_without_attributes_does_not_only_update_lock_version => 221: assert_nothing_raised do 222: p1 = Person.create!(:first_name => 'anika') 223: lock_version = p1.lock_version 224: p1.save /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__1008750312__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== ............................................................................... ............................................................................... ............................................................................... ............................................................................... .....................................E =============================================================================== Error: test_model_class_should_respond_to_many(NamedScopeTest) ActiveRecord::RecordInvalid: Validation failed: Title can't be blank /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:56:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:33:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:264:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:264:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:41:in `create!' /home/kares/workspace/github/rails/activerecord/test/cases/named_scope_test.rb:290:in `test_model_class_should_respond_to_many' 287: def test_model_class_should_respond_to_many 288: Topic.delete_all 289: assert !Topic.many? => 290: Topic.create! 291: assert !Topic.many? 292: Topic.create! 293: assert Topic.many? /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__545009750__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== .....E =============================================================================== Error: test_reload_expires_cache_of_found_items(NamedScopeTest) ActiveRecord::RecordInvalid: Validation failed: Title can't be blank /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:56:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:33:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:264:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:264:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:41:in `create!' /home/kares/workspace/github/rails/activerecord/test/cases/named_scope_test.rb:36:in `test_reload_expires_cache_of_found_items' 33: all_posts = Topic.base 34: all_posts.all 35: => 36: new_post = Topic.create! 37: assert !all_posts.include?(new_post) 38: assert all_posts.reload.include?(new_post) 39: end /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__545009750__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== .......................E =============================================================================== Error: test_should_create_with_bang_on_top_of_scope(NamedScopeTest) ActiveRecord::RecordInvalid: Validation failed: Title can't be blank /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:56:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:33:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:264:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:264:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:41:in `create!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:91:in `create!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:241:in `scoping' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/scoping.rb:98:in `with_scope' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/scoping.rb:97:in `with_scope' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:241:in `scoping' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/relation.rb:91:in `create!' /home/kares/workspace/github/rails/activerecord/test/cases/named_scope_test.rb:312:in `test_should_create_with_bang_on_top_of_scope' 309: end 310: 311: def test_should_create_with_bang_on_top_of_scope => 312: topic = Topic.approved.create!({}) 313: assert topic.approved 314: end 315: /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__545009750__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== ............................................................................... ............................................................................... .E =============================================================================== Error: test_save_nil_string_attributes(PersistencesTest) ActiveRecord::RecordInvalid: Validation failed: Title can't be blank /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/validations.rb:56:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/attribute_methods/dirty.rb:33:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:264:in `save!' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:313:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:208:in `transaction' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:311:in `with_transaction_returning_status' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/transactions.rb:264:in `save!' /home/kares/workspace/github/rails/activerecord/test/cases/persistence_test.rb:185:in `test_save_nil_string_attributes' 182: def test_save_nil_string_attributes 183: topic = Topic.find(1) 184: topic.title = nil => 185: topic.save! 186: topic.reload 187: assert_nil topic.title 188: end /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__1106245322__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== ...........................................................F =============================================================================== Failure: <2> expected to be an instance of but was . test_cache_does_not_wrap_string_results_in_arrays(QueryCacheTest) /home/kares/workspace/github/rails/activerecord/test/cases/query_cache_test.rb:164:in `test_cache_does_not_wrap_string_results_in_arrays' 161: assert_instance_of Fixnum, 162: Task.connection.select_value("SELECT count(*) AS count_all FROM tasks") 163: else => 164: assert_instance_of String, Task.connection.select_value("SELECT count(*) AS count_all FROM tasks") 165: end 166: end 167: end /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:26:in `cache' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/query_cache.rb:10:in `cache' /home/kares/workspace/github/rails/activerecord/test/cases/query_cache_test.rb:155:in `test_cache_does_not_wrap_string_results_in_arrays' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__340710528__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== .F =============================================================================== Failure: 2 instead of 1 queries were executed. Queries: SELECT `tasks`.* FROM `tasks` WHERE `tasks`.`id` = 1 LIMIT 1 SELECT `tasks`.* FROM `tasks` WHERE `tasks`.`id` = 1 LIMIT 1. <1> expected but was <2>. test_cache_is_available_when_connection_is_connected(QueryCacheTest) /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/test_case.rb:49:in `assert_queries' /home/kares/workspace/github/rails/activerecord/test/cases/query_cache_test.rb:182:in `test_cache_is_available_when_connection_is_connected' 179: 180: ActiveRecord::Base.configurations = {} 181: Task.cache do => 182: assert_queries(1) { Task.find(1); Task.find(1) } 183: end 184: ensure 185: ActiveRecord::Base.configurations = conf /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:26:in `cache' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/query_cache.rb:10:in `cache' /home/kares/workspace/github/rails/activerecord/test/cases/query_cache_test.rb:181:in `test_cache_is_available_when_connection_is_connected' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__340710528__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== F =============================================================================== Failure: 2 instead of 1 queries were executed. Queries: SELECT `topics`.* FROM `topics` WHERE `topics`.`id` = 1 LIMIT 1 SELECT `topics`.* FROM `topics` WHERE `topics`.`id` = 1 LIMIT 1. <1> expected but was <2>. test_cache_is_flat(QueryCacheTest) /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/test_case.rb:49:in `assert_queries' /home/kares/workspace/github/rails/activerecord/test/cases/query_cache_test.rb:141:in `test_cache_is_flat' 138: def test_cache_is_flat 139: Task.cache do 140: Topic.columns # don't count this query => 141: assert_queries(1) { Topic.find(1); Topic.find(1); } 142: end 143: 144: ActiveRecord::Base.cache do /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:26:in `cache' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/query_cache.rb:10:in `cache' /home/kares/workspace/github/rails/activerecord/test/cases/query_cache_test.rb:139:in `test_cache_is_flat' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__340710528__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== .......F =============================================================================== Failure: 2 instead of 1 queries were executed. Queries: SELECT `tasks`.* FROM `tasks` WHERE `tasks`.`id` = 1 LIMIT 1 SELECT `tasks`.* FROM `tasks` WHERE `tasks`.`id` = 1 LIMIT 1. <1> expected but was <2>. test_find_queries_with_cache(QueryCacheTest) /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/test_case.rb:49:in `assert_queries' /home/kares/workspace/github/rails/activerecord/test/cases/query_cache_test.rb:111:in `test_find_queries_with_cache' 108: 109: def test_find_queries_with_cache 110: Task.cache do => 111: assert_queries(1) { Task.find(1); Task.find(1) } 112: end 113: end 114: /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:26:in `cache' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/query_cache.rb:10:in `cache' /home/kares/workspace/github/rails/activerecord/test/cases/query_cache_test.rb:110:in `test_find_queries_with_cache' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__340710528__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== F =============================================================================== Failure: 3 instead of 2 queries were executed. Queries: SELECT `tasks`.* FROM `tasks` WHERE `tasks`.`id` = 1 LIMIT 1 SELECT `tasks`.* FROM `tasks` WHERE `tasks`.`id` = 1 LIMIT 1 SELECT `tasks`.* FROM `tasks` WHERE `tasks`.`id` = 2 LIMIT 1. <2> expected but was <3>. test_find_queries_with_cache_multi_record(QueryCacheTest) /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/test_case.rb:49:in `assert_queries' /home/kares/workspace/github/rails/activerecord/test/cases/query_cache_test.rb:117:in `test_find_queries_with_cache_multi_record' 114: 115: def test_find_queries_with_cache_multi_record 116: Task.cache do => 117: assert_queries(2) { Task.find(1); Task.find(1); Task.find(2) } 118: end 119: end 120: /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/query_cache.rb:26:in `cache' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/query_cache.rb:10:in `cache' /home/kares/workspace/github/rails/activerecord/test/cases/query_cache_test.rb:116:in `test_find_queries_with_cache_multi_record' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__340710528__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== ............................................................................... ............................................................................... ............................................................................... .....................F =============================================================================== Failure: 2 instead of 3 queries were executed. Queries: SELECT `posts`.* FROM `posts` LIMIT 1 SELECT `comments`.* FROM `comments` WHERE `comments`.`post_id` IN (1). <3> expected but was <2>. test_preload_applies_to_all_chained_preloaded_scopes(RelationTest) /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activerecord-3.2.13/lib/active_record/test_case.rb:49:in `assert_queries' /home/kares/workspace/github/rails/activerecord/test/cases/relations_test.rb:336:in `test_preload_applies_to_all_chained_preloaded_scopes' 333: end 334: 335: def test_preload_applies_to_all_chained_preloaded_scopes => 336: assert_queries(3) do 337: post = Post.with_tags.with_comments.first 338: assert post 339: end /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:72:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:428:in `_run__521563297__setup__33323834__callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:390:in `_run_setup_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:70:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:69:in `run' /opt/local/rvm/gems/jruby-1.7.3@jdbc/gems/activesupport-3.2.13/lib/active_support/testing/setup_and_teardown.rb:68:in `run' =============================================================================== ............................................................................... ............................................................................... ........... Finished in 223.021 seconds. 3339 tests, 9563 assertions, 18 failures, 131 errors, 0 pendings, 0 omissions, 0 notifications 0% passed 14.97 tests/s, 42.88 assertions/s