ruby-ibmdb | Rails Adapter/Ruby driver for IBM DB2 and IBM Informix | Database library
kandi X-RAY | ruby-ibmdb Summary
kandi X-RAY | ruby-ibmdb Summary
Rails Adapter/Ruby driver for IBM DB2 and IBM Informix
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Updates a new record with the given attributes .
- Delete a new object
- Creates a record in the database .
- Returns a quoted hash with the provided attributes .
- Record the version of the migration
- Returns the string representation of the provided options hash
- Drop the table with the given name
ruby-ibmdb Key Features
ruby-ibmdb Examples and Code Snippets
Community Discussions
Trending Discussions on ruby-ibmdb
QUESTION
I was using JDBC to connect to IBM DB2 AS400 for iSeries in my Rails Application. Now it looks like I will have to move to use the ibm_db
gem.
https://github.com/ibmdb/ruby-ibmdb
I attempted this with irb
first and used the following in a command like:
ANSWER
Answered 2019-Oct-31 at 17:00Speak with your i administrator(s) or management team. Stackoverflow may not be not what you need right now. When asking questions, it's smart to fully detail your environment for obvious reasons, if necessary speaking with relevant persons at the client site to establish the facts before asking questions.
Find out whether there is a Db2-connect server (separate purchase) already installed on the i-series. The regular Db2-client for MAC can then communicate with CLI/ODBC via that product which does the required protocol conversions while acting as a gateway.
Find out if there is a Db2-connect server already deployed anywhere that runs on Windows/Linux/Unix that you can use (it does the required protocol conversions while acting as a gateway) once configured with connections for i-series. The regular Db2-client for MAC OS X can then use that as a gateway for CLI/ODBC to i-series.
IBM does not currently sell "IBM i access" for MAC OS X afaik, which offers the CLI/ODBC interface and does not require a Db2-connect server. That product is available for Microsoft Windows and Linux platforms. Those platforms may offer you an alternative if MAC OS X is currently unsupported.
The regular Db2-driver from IBM for MAC OS X requires for CLI/ODBC a Db2-connect server for the protocol conversions with i-series, so db2cli tool will not work without a Db2-connect gateway.
Other non IBM vendors may offer solutions in this area.
Another possibility is to use a ODBC to JDBC bridge, running on your MAC OS X, which would reroute ODBC calls to your working jdbc driver. You might research that.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ruby-ibmdb
On a UNIX-like operating system, using your system’s package manager is easiest. However, the packaged Ruby version may not be the newest one. There is also an installer for Windows. Managers help you to switch between multiple Ruby versions on your system. Installers can be used to install a specific or multiple Ruby versions. Please refer ruby-lang.org for more information.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page