diff --git a/lib/sequel/adapters/jdbc/sqlanywhere.rb b/lib/sequel/adapters/jdbc/sqlanywhere.rb index b3431bde3..34f5f0867 100644 --- a/lib/sequel/adapters/jdbc/sqlanywhere.rb +++ b/lib/sequel/adapters/jdbc/sqlanywhere.rb @@ -36,6 +36,10 @@ module DatabaseMethods private + def database_exception_use_sqlstates? + false + end + # Use @@IDENTITY to get the last inserted id def last_insert_id(conn, opts=OPTS) statement(conn) do |stmt|