Seems that firebird driver https://github.com/jruby/activerecord-jdbc-adapter/blob/master/lib/arjdbc/firebird/adapter.rb
needs patching like in the oracle case https://github.com/jruby/activerecord-jdbc-adapter/blob/master/lib/arjdbc/oracle/adapter.rb
IDENTIFIER_LENGTH = 31
def default_sequence_name(table_name, column = nil)
"#{table_name.to_s[0, IDENTIFIER_LENGTH - 4]}_seq"
end