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.
27 28 29 |
# File 'lib/sequel/adapters/jdbc/as400.rb', line 27 def database_type :as400 end |
#last_insert_id(conn, opts = OPTS) ⇒ Object
TODO: Fix for AS400
32 33 34 |
# File 'lib/sequel/adapters/jdbc/as400.rb', line 32 def last_insert_id(conn, opts=OPTS) nil end |
#supports_transaction_isolation_levels? ⇒ Boolean
AS400 supports transaction isolation levels
37 38 39 |
# File 'lib/sequel/adapters/jdbc/as400.rb', line 37 def supports_transaction_isolation_levels? true end |