Re: ConnectionString questions
Posted by: Gabriela Martinez
Date: November 06, 2012 10:41AM

Kerry,

The behavior in these cases depends on the server configuration. Since there are some default values in a connection string there might be cases when the connection actually can be established. If the server value is empty then a localhost name is used. When the user id is empty also there are cases when a user can have an empty name and no password. Although this is not the best practice. And finally the database is not a required value since there are cases when a connection doesn't have to be done to a particular database.

This is why not always an exception is thrown and it all depends on the configuration.

Hope this helps.

Options: ReplyQuote


Subject
Written By
Posted
November 01, 2012 04:04PM
Re: ConnectionString questions
November 06, 2012 10:41AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.