Sybase SQLAnywhere JDBC adapter for JRuby on Rails
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
rakelib
src/java/arjdbc/sqlanywhere
test
.gitignore
Gemfile
LICENSE.txt
README.md
Rakefile
activerecord-jdbcsqlanywhere-adapter.gemspec

README.md

activerecord-jdbcsqlanywhere-adapter

This is an ActiveRecord JDBC adapter for Sybase SQLAnywhere.

Standalone usage example:

require 'rubygems'
require 'active_record'
CONFIG = {
  :username => 'user',
  :password => 'mypass',
  :adapter => 'sqlanywhere',
  :host => 'myhost',
  :database => 'mydb',
  :port => 9999
}
ActiveRecord::Base.establish_connection( CONFIG )
sql = %{select count(*) from some_table}
puts ActiveRecord::Base.connection.execute(sql)