Thread overview
Oracle support in D?
Jul 05, 2019
Nick Papanastasiou
Jul 05, 2019
Adam D. Ruppe
Jul 08, 2019
Eduard Staniloiu
Jul 11, 2019
Laeeth Isharc
Jul 11, 2019
bauss
July 05, 2019
Hey guys,

We have a few processes at work that are a too slow for the business's liking and could benefit from a D rewrite. Biggest issue is that I haven't been able to find any support for a querying an Oracle database, which we need to try this out.

Anyone have something I might have missed? Thanks.
July 05, 2019
On Friday, 5 July 2019 at 15:02:45 UTC, Nick Papanastasiou wrote:
> Anyone have something I might have missed? Thanks.

Did you consider ODBC yet? It might give you at least basic accesS.

odbc bindings I believe is still in etc.c package distributed with dmd.
July 08, 2019
On Friday, 5 July 2019 at 15:18:32 UTC, Adam D. Ruppe wrote:
> On Friday, 5 July 2019 at 15:02:45 UTC, Nick Papanastasiou wrote:
>> Anyone have something I might have missed? Thanks.
>
> Did you consider ODBC yet? It might give you at least basic accesS.
>
> odbc bindings I believe is still in etc.c package distributed with dmd.

I think you should be able to use OCI with the help of dpp [0],
just by including the headers ("oci.h") and linking with the library.

You can try to get one of the OCI examples [1], use D syntax and compile it with dpp.

Hope it helps,
Edi

[0] - https://code.dlang.org/packages/dpp
[1] - https://docs.oracle.com/cd/A64702_01/doc/server.805/a58234/app_exam.htm
July 11, 2019
On Friday, 5 July 2019 at 15:02:45 UTC, Nick Papanastasiou wrote:
> Hey guys,
>
> We have a few processes at work that are a too slow for the business's liking and could benefit from a D rewrite. Biggest issue is that I haven't been able to find any support for a querying an Oracle database, which we need to try this out.
>
> Anyone have something I might have missed? Thanks.

I don't use Oracle, but usually google is your friend (just search for oracle dlang).

I brought the deimos driver up to date for dmd and phobos.

https://github.com/kaleidicassociates/ocilib


July 11, 2019
On Friday, 5 July 2019 at 15:02:45 UTC, Nick Papanastasiou wrote:
> Hey guys,
>
> We have a few processes at work that are a too slow for the business's liking and could benefit from a D rewrite. Biggest issue is that I haven't been able to find any support for a querying an Oracle database, which we need to try this out.
>
> Anyone have something I might have missed? Thanks.

https://github.com/buggins/ddbc Should work :)