Hello,I'm trying to get Roundhouse working against Oracle Express Edition running on my local machine. I have a couple sample SQL scripts and I'm trying to execute RH like this:
--dbt=oracle --db=MY_DATABASE --vf=sql -o=.\_rh_log\ --connstring="Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)));User Id=system;Password=MY_PASSWORD;"
This connection string works fine in a test .NET app I have that uses System.Data.OracleClient to connect to Oracle XE. However, when I execute RH, it crashes with invalid username / password. I couldn't figure it out so I grabbed the RH source, and it turns out that the User ID and Password fields from the connection string are getting removed when setting the admin_connection_string. It happens in this code from OracleDatabase.initialize_connections:if (string.IsNullOrEmpty(admin_connection_string)){admin_connection_string = Regex.Replace(connection_string, "Integrated Security=.*?;", "Integrated Security=yes;");admin_connection_string = Regex.Replace(admin_connection_string, "User Id=.*?;", string.Empty);admin_connection_string = Regex.Replace(admin_connection_string, "Password=.*?;", string.Empty);}What is the purpose of this code? Why does it remove those properties? Why is admin_connection_string being used instead of the "normal" connection string that I set on the command line? What is the intent behind having a separate "admin" connection string?Thanks,--
~ Justin Kohlhepp
You received this message because you are subscribed to the Google Groups "chucknorris" group.
To view this discussion on the web visit https://groups.google.com/d/msg/chucknorrisframework/-/D8TRM_n4IZEJ.
To post to this group, send email to chucknorri...@googlegroups.com.
To unsubscribe from this group, send email to chucknorrisframe...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/chucknorrisframework?hl=en.
To post to this group, send email to chucknorrisframework@googlegroups.com.
To unsubscribe from this group, send email to chucknorrisframework+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/chucknorrisframework/-/YuiXktssaT8J.
To post to this group, send email to chucknorri...@googlegroups.com.
To unsubscribe from this group, send email to chucknorrisframe...@googlegroups.com.
To post to this group, send email to chucknorri...@googlegroups.com.
To unsubscribe from this group, send email to chucknorrisframework+unsubscrib...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/chucknorrisframework?hl=en.
--
You received this message because you are subscribed to the Google Groups "chucknorris" group.