Module: Sequel::JDBC::AS400::DatabaseMethods
- Extended by:
- Database::ResetIdentifierMangling
- Includes:
- Transactions
- Defined in:
- lib/sequel/adapters/jdbc/as400.rb
Overview
Instance methods for AS400 Database objects accessed via JDBC.
Constant Summary collapse
- TRANSACTION_BEGIN =
'Transaction.begin'.freeze
- TRANSACTION_COMMIT =
'Transaction.commit'.freeze
- TRANSACTION_ROLLBACK =
'Transaction.rollback'.freeze
Constants included from Transactions
Transactions::TRANSACTION_RELEASE_SP, Transactions::TRANSACTION_ROLLBACK_SP, Transactions::TRANSACTION_SAVEPOINT
Instance Method Summary collapse
-
#database_type ⇒ Object
AS400 uses the :as400 database type.
-
#last_insert_id(conn, opts = OPTS) ⇒ Object
TODO: Fix for AS400.
-
#supports_transaction_isolation_levels? ⇒ Boolean
AS400 supports transaction isolation levels.
Methods included from Database::ResetIdentifierMangling
Methods included from Transactions
Instance Method Details
#database_type ⇒ Object
AS400 uses the :as400 database type.
29 30 31 |
# File 'lib/sequel/adapters/jdbc/as400.rb', line 29 def database_type :as400 end |
#last_insert_id(conn, opts = OPTS) ⇒ Object
TODO: Fix for AS400
34 35 36 |
# File 'lib/sequel/adapters/jdbc/as400.rb', line 34 def last_insert_id(conn, opts=OPTS) nil end |
#supports_transaction_isolation_levels? ⇒ Boolean
AS400 supports transaction isolation levels
39 40 41 |
# File 'lib/sequel/adapters/jdbc/as400.rb', line 39 def supports_transaction_isolation_levels? true end |