I'm using Sequel in JRuby to connect to an Oracle database through the
JDBC driver. I need to pass a connection option to the JDBC driver
setting escape processing to false. I've tested the option in Java so
I know this functionality is supported and should be accessible in the
same manner as the user and password options.
Properties info = new Properties();
info.setProperty("user", username);
info.setProperty("password", password);
info.setProperty("processEscapes", "false");
Connection connection =
DriverManager.getConnection("jdbc:oracle:thin:@" + server_url + ":
1521:" + database, info);
When I try the same parameters passed into the Sequel connection, the
driver is processing escapes. Is there a reason Sequel would not pass
this option like the others?
Sequel.connect("jdbc:oracle:thin:@#{server_url}:1521:#{database}",
{:user => user, :password => password, :processEscapes => "false"})
Any help is appreciated,
-mike
--
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.