I want to know about events that cannot acquire results when I issued SQL to Oracle10g in DatabaseManager.fetch.

 
[Answer]
If you issued SQL using DatabaseManager.fetch in Oracle10g under the following conditions, you might not be able to acquire results.
If you confirmed the event, please refer to [Conditions confirmed the event] and decide the investigation and the correspondence.

[Conditions confirmed the event]
·Database: Oracle10g (10.2.0.1)
·When patch04 is applied and DatabaseManager#fetch is speeded up
·When you issue a specific (*1) SQL using DatabaseManager#fetch
*1 If you use [Fast fetch] of DatabaseManager#fetch 
SQL for paging is inserted in the upper and lower issued SQL.
The event might occur if the inserted SQL meets the following conditions.
·There is SELECT clause in the extraction condition of WHERE clause. "WHERE bbb = (SELECT ..."
·There is ORDER BY clause.
·There is JOIN clause.
*It does not necessarily occur on these conditions.

[Cause]
We have confirmed no bug of title occurs in Oracle10g (10.2.0.4).
Therefore, it is considered to be a bug of the SQL interpretation of Oracle 10g(10.2.0.1).
[Handling methods]
There are two methods. Considering your usage status, please decide which methods to take.
■Handling method 1
·Disable the [Fast Fetch] option added in the option function module.
·How to set
  Add <fast-fetch> tag in the tag under imart.xml and set true/false in <fast-fetch> tag
      intra-mart/platform/service/application/database
  The default is false if the setting is omitted.  
 ·Problems in the case of disabling
   ·When fetching for large amounts of data, memory leaks occur in JDBC, and OutOfMemory might occur.
      (Oracle, PostgreSQL)
   ·Column information of LOB of the database cannot be acquired.
      (DB2)
   ·Fetch for large amounts of data is slow
      (All DB)
*Please stop ServerManager, ServicePlatform and perform the setting work.
■Handling method 2
·Upgrade Oracle10g to 10.2.0.4 or later.


-- Target ----------------------------------------------------------------------------------
iWP/Web System Construction Platform/WebPlatform/AppFramework
----------------------------------------------------------------------------------------------


FAQID:242
Was this article helpful?
0 out of 0 found this helpful
Powered by Zendesk