activerecord-hana-adapter
activerecord-hana-adapter copied to clipboard
Connection drops schema on reconnect
If you use a schema besides SYSTEM (which is the normal use case), the reconnect will reset your schema to SYSTEM.
The fix is simply to add 'setup_schema' in ActiveRecord::ConnectionAdapters::NewDBAdapter#reconnect after 'connect'.