On Oct 18, 3:49 pm, Jeremy Evans <[email protected]> wrote:
>
> What specifically is servers here? It probably should be:
>
> {:dsn1=>{:host=>'dsn1'}, :dsn2=>{:host=>'dsn2'}}
>
OK, the servers hash looks like:
{:default => {:uri=>"odbc:///default?
user=sa&password=testing&db_type=mssql"},
:dam1005 => {:uri=>"odbc:///dam1005?
user=sa&password=testing&db_type=mssql"},
:bev1234 => {:uri=>"odbc:///bev1234?
user=sa&password=testing&db_type=mssql"},
:boy1503 => {:uri=>"odbc:///boy1503?
user=sa&password=testing&db_type=mssql"}}
Note, this is accepted with no error except all the servers are turned
into the default one.. This same construct work fine in jruby with
jdbc uri's
I thought that with odbc :host didn't work and you needed to
use :database if you didn't use the URI form?
Cheers,
Gary.
--
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sequel-talk?hl=en.