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.
18 19 20 |
# File 'lib/sequel/adapters/jdbc/as400.rb', line 18 def database_type :as400 end |
#last_insert_id(conn, opts = OPTS) ⇒ Object
TODO: Fix for AS400
23 24 25 |
# File 'lib/sequel/adapters/jdbc/as400.rb', line 23 def last_insert_id(conn, opts=OPTS) nil end |
#supports_transaction_isolation_levels? ⇒ Boolean
AS400 supports transaction isolation levels
28 29 30 |
# File 'lib/sequel/adapters/jdbc/as400.rb', line 28 def supports_transaction_isolation_levels? true end |