Class: ActiveRecord::JDBCError

Inherits:
ActiveRecordError
  • Object
show all
Defined in:
lib/arjdbc/jdbc/core_ext.rb

Overview

Represents exceptions that have propagated up through the JDBC API.

Direct Known Subclasses

Mysql::Error

Instance Attribute Summary collapse

Instance Attribute Details

#errnoObject

The vendor code or error number that came from the database



5
6
7
# File 'lib/arjdbc/jdbc/core_ext.rb', line 5

def errno
  @errno
end

#sql_exceptionObject

The full Java SQLException object that was raised



8
9
10
# File 'lib/arjdbc/jdbc/core_ext.rb', line 8

def sql_exception
  @sql_exception
end