Feeds:
日志
评论

Posts Tagged ‘Oracle’

  Dedicated Servers Shared Servers Database Resident Connection Pooling When a client request is received, a new server process and a session are created for the client. When the first request is received from a client, the Dispatcher process places this request on a common queue. The request is picked up by an available shared [...]

Read Full Post »

What is JDBC and what is it used for? JDBC is a set of classes and interfaces written in Java to allow other Java programs to send SQL statements to a relational database management system.Oracle provides three categories of JDBC drivers: JDBC Thin Driver (No local Net8 installation required/ handy for applets) JDBC OCI for [...]

Read Full Post »

How to install the Oracle adapter  This has been asked many times on rails-talk mailing list, so I want to summarize:     sudo gem install activerecord-oracle-adapter –source http://gems.rubyonrails.org (Since ActiveRecord Oracle Adapter is moving to Rubyforge. “–source http://gems.rubyonrails.org” will be omitted ) or check it out from svn:     svn co http://svn.rubyonrails.org/rails/adapters/oracle/lib/active_record/connection_adapters/ And note that [...]

Read Full Post »

Ruby-OCI8 gem Available

Ruby-OCI8 1.0.2 gem available, a big thanks to Kubo. I’m glad to have proposed this and made a little contribution. To install Ruby-OCI8 via gem, follow these steps: su – root rpm -ivh oracle-instantclient-basic-11.1.0.1-1.rpm oracle-instantclient-devel-11.1.0.1-1.rpm    (download link; or install oracle full client) export LD_LIBRARY_PATH=/usr/lib/oracle/11.1.0.1/client/lib:$LD_LIBRARY_PATH cd /usr/lib/oracle/11.1.0.1/client/lib ln -s libclntsh.so.11.1 libclntsh.so gem install ruby-oci8 In one [...]

Read Full Post »

When using two JDBC connections accessing the same Oracle database, “SqlException : No more data to read from socket” thrown. This is  because your database doesn’t support connection sharing, or it’s a dedicated server that will not respond to different clients. Solution 1: $ dbca –Configuration & Migration Tool —-database Configuration Assistant Select radio button [...]

Read Full Post »

Raimonds Simanovskis is "planning to create activerecord-oracle-enhanced-adapter where to put my monkey patches of original adapter". It’s a good news since Rails Oracle Adapter svn respository has been in silence for a few months. This guy posted an idea "Oracle adapter for Ruby on Rails" on Oracle MIX 3 months ago, but seems that he [...]

Read Full Post »

加关注

Get every new post delivered to your Inbox.