Incorrect TOracleScript parsing when using CREATE JAVA SOURCE with RESOLVE keyword

blogin

Member²
There are some problems when passing the following text to the TOracleScript.Lines property:

CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED A.B AS
public class Test
{

public static String test(String in)
{
String result;
return result;
}
};
/

In that case, property Commands consists of two items instead of one - content is divided into two parts. After changing 'RESOLVE' keyword to 'COMPILE', text is parsed correctly (consists of only one item).

Is there any workaround for this ?
 
Thank you for your prompt response.

Is there any chance, that it will be fixed ?
Unfortunately I cannot use TOracleQuery, because I need to load multiple commands from a file (among which is the one, mentioned above) and then execute them one by one. I think, that it won't be possible with TOracleQuery.

Kind regards
Bertrand
 
Back
Top