I created the standard DataObjects.net Console project, which showed "Hello World" correctly. To support Oracle, I installed ODP.net 11.2. I changed the DomainConfiguration to point to my Oracle database (either via config or via code) Then when calling "Domain.Register", a NotSupportedException is thrown. UPDATE: The stacktrace
|
It seems that currently DataObjects.Net doesn't handle correctly the situation when there is at least one temporary table in the scheme. We'll fix this shortly. In order to sort out the problem right now try executing the following query:
It will show you whether your scheme contains temporary tables or not. If so, try deleting them and re-run Domain build procedure. DataObjects.Net 4.3.7 & 4.4 beta 2 is released. It handles such cases correctly. |
I've checked the case and haven't encountered any problems. My DataObjects.Net version was 4.4 Beta 1, connection url was "oracle://user:password@192.168.0.4:5510/ora10". Could you check whether yours was correct? |
My connection string is in the format oracle://username:pw@dbserver:port/service When I changed to use an incorrect connection string, then I got errors like: ORA-12545: Connect failed because target host or object does not exist ORA-12514: TNS:listener does not currently know of service requested in connect descriptor Therefore I think my connection string is correct. I do have oracle10 server installed on the machine, with oracle 11.2 client. Therefore it may be due to the multiple oracle directories. However my ORACLE_HOME is configured to point to my 11.2 client, and I can connect via PL/SQL correctly. ps. I am using VS 2008 |
Thanks, we'll investigate the issue.