Giacomo Tesio wrote:
> I'm try to generate simple classes from an Oracle10g and getting the
> following error: anyone knows why? Am I doing something wrong? Is it a
> dbmetal bug?
OracleVendor.cs uses following code to connect to Oracle.
connectionStringBuilder.AppendFormat(
"Data Source = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS =
(PROTOCOL = TCP)(HOST = {0})(PORT = 1521)))(CONNECT_DATA = (SERVER =
DEDICATED)))",
host);
I'd argue that this should be changed to simple "Data Source=name" and leave
configuration to Oracle, because current method will work only when
connection parameters are those defined in this connect line.
I didn't change it myself yet because there is a comment that this works
better in different environments.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"DbLinq" 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/dblinq?hl=en
-~----------~----~----~----~------~----~------~--~---