module ActiveRecord::ConnectionAdapters::OracleEnhanced::DatabaseLimits

Constants

IDENTIFIER_MAX_LENGTH

maximum length of Oracle identifiers

Public Instance Methods

column_name_length() click to toggle source

the maximum length of a column name

# File lib/active_record/connection_adapters/oracle_enhanced/database_limits.rb, line 23
def column_name_length
  IDENTIFIER_MAX_LENGTH
end
in_clause_length() click to toggle source

To avoid ORA-01795: maximum number of expressions in a list is 1000 tell ActiveRecord to limit us to 1000 ids at a time

# File lib/active_record/connection_adapters/oracle_enhanced/database_limits.rb, line 41
def in_clause_length
  1000
end
index_name_length() click to toggle source

the maximum length of an index name supported by this database

# File lib/active_record/connection_adapters/oracle_enhanced/database_limits.rb, line 30
def index_name_length
  IDENTIFIER_MAX_LENGTH
end
sequence_name_length() click to toggle source

the maximum length of a sequence name

# File lib/active_record/connection_adapters/oracle_enhanced/database_limits.rb, line 35
def sequence_name_length
  IDENTIFIER_MAX_LENGTH
end
table_name_length() click to toggle source

the maximum length of a table name

# File lib/active_record/connection_adapters/oracle_enhanced/database_limits.rb, line 17
def table_name_length
  IDENTIFIER_MAX_LENGTH
end