|
I am not certain of what connection string I should be using and if I have to copy specific dlls into my project? Any help would be appreciated, thanks.
(comments are locked)
|
|
Ok, I found the answer - posting to help anyone else that may encounter this problem (give me some good karma if it helps :) There were a number of problems I ran into with this implementation 1. I had to use the ODBC driver for Oracle as the Oracle and MS drivers did not work as I showed above (EDIT: below now as this one got up-voted). I am sure someone can get this to work, but I am not that good of a programmer. 2. The next problem is that Unity will crash as DataTable.Load does not work with the Oracle ODBC driver (although it works on the same DLL with the XLS implementation - odd no?). So that is why I have the "while (rData.Read())" as I am planning on populating the DataTable manually myself. It is working for me so far, although I am sure there is a far, far better way of doing this. 3. Any questions, please let me know.
(comments are locked)
|
|
People, where I can find the Oracle.DataAccess.dll and Oracle.DataAccess.Client to download? Try here: http://www.oracle.com/technetwork/database/windows/downloads/index-101290.html It gives you a lot to download, but it should be under the driver area. Also, I wound up scrapping my oracle endeavor as there were too many bugs. I basically got it to work with limited features, things maybe better in the new version. Best of luck :)
Jul 17 '12 at 01:12 AM
marek428
(comments are locked)
|
|
People, where I can find the Oracle.DataAccess.dll and Oracle.DataAccess.Client to download?
(comments are locked)
|
|
Ok, I stumbled around a bit and got somewhat further. I did the following:
And it compiles! But unfortunately I received this error for my troubles (it fails on the oCon.Open();):
Does this mean Unity/Mono does not support Oracle? Or am I doing something else wrong that is above my pay grade?
(comments are locked)
|
