Hi Jeremy,

Thanks for the response.

I've found some info at the following url 
- https://community.oracle.com/thread/625782

It looks like adding :pooled to the end of the database name will specify 
to the database that you're wanting it to handle the pooling of connections

conn = OCI8.new("scott", "tiger", "localhost:1521/orcl:pooled")


Thanks again,

John 

On Tuesday, 14 April 2015 16:09:28 UTC+1, John-Junior Murray wrote:
>
> Hi,
>
> I'm having a few issues using Sequel and I'm wondering if you can help.
>
> The Oracle database we connect to requires pooled connections (handled on 
> the database side). I can see in the documentation that you're able to 
> specify max_connections, but this launches X amount of dedicated 
> connections.
>
> we're currently connecting as below
>
> $db         = Sequel.oracle('database', :user=>'user', :password=>'pword', 
>> :max_connections=>80)
>
>
> Is there a way you can either -
>
> 1) Specify that the database should pool the connections instead of the 
> app.
> 2) Pass an oracle connection string into sequel?
>
> I'm using Ruby/Sinatra with Sequel.
>
> Thanks in advance.
>
> John 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to