Print Thread
Access violation in 'orageneric12.dll' when using DOA 4.1.1 for Delphi 5 with Oracle client 12.1
#49609 09/26/14 05:04 PM
Joined: Sep 2014
Posts: 1
M
michelw Offline OP
Member
OP Offline
Member
M
Joined: Sep 2014
Posts: 1
We have a Delphi 5 Windows application that uses DOA 4.1.1 to connect to an Oracle 12c server using an Oracle 12.1 client.

With this configuration, we keep getting some random access violation errors in module 'orageneric12.dll'.

With the same Delphi 5 application and still using DOA 4.1.1, we are NOT getting any errors when using an Oracle 10.2 client connection to the same Oracle 12c server.

Can you please tell me if DOA 4.1.1 for Delphi 5 officially support an Oracle 12.1 client ? If it supports it, do you have any clue for these exceptions.

Thanks,

Michel W.


Last edited by michelw; 09/26/14 05:13 PM.
Re: Access violation in 'orageneric12.dll' when using DOA 4.1.1 for Delphi 5 with Oracle client 12.1
michelw #49610 09/29/14 09:13 AM
Joined: Aug 1999
Posts: 22,200
Member
Offline
Member
Joined: Aug 1999
Posts: 22,200
Yes, any 4.x version should work just fine with an Oracle12c Client. Do you know what kind of activity triggers this access violations?


Marco Kalter
Allround Automations
Re: Access violation in 'orageneric12.dll' when using DOA 4.1.1 for Delphi 5 with Oracle client 12.1
michelw #49869 12/10/14 07:34 PM
Joined: Jun 2010
Posts: 35
J
Member
Offline
Member
J
Joined: Jun 2010
Posts: 35
Random access violations have plagued us since v7.0, from 10g through 12. I believe I've pinned down exactly what causes them and have a workaround... whether your crashes are related or not is unknown.

What we see is that anytime there's a lob/clob/xml/obj field in the query, a select * will crash after 99 records. So we set our initial retrieval to 99 records, and try to avoid the '*'. We also try to specify the fields individually, and do a .getclobval() on the object fields, as such:

SQL Query
select excptn_id,  code_src,  error_desc,  esclt_lvl,
       t.stack_trc.getclobval() stack_trc, 
       ora_errm,   ora_code,  create_dt 
from   exception_log;

Since starting these practices, I have never had an Access Violation error.

Interestingly, if I right-click a table with a clob/xml field and pick 'Query Data', PL/SQL Developer adds the getclobval() automatically. If I drag and drop the table into the editor and choose to generate a select statement, the fields are listed individually, but getclobval() is not added, and will crash.


Last edited by James B; 12/10/14 07:35 PM.

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.048s Queries: 14 (0.020s) Memory: 2.5053 MB (Peak: 3.0393 MB) Data Comp: Off Server Time: 2024-04-19 12:04:20 UTC
Valid HTML 5 and Valid CSS