简体   繁体   中英

How to connect to SAP HANA using ruby Sequel

Hi any ideas on how to connect to sap hana db using sequel gem? Can I use odbc? I used sequel for my mysql, postgres connections. I wonder if I can use it for sap hana

If you're using Rails you could use https://github.com/SAP/activerecord-hana-adapter together with the ODBC driver for HANA.

Alternatively if you're using jRuby you could use the Java SDK https://prograils.com/posts/getting-your-rails-app-running-on-the-sap-hana-cloud-platform .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM