Project

General

Profile

Activity

From 09/18/2022 to 10/17/2022

10/18/2022

09:16 PM Database Bug #6301: incorrect initialization of date-related fields with today and now literals
Eric Faulhaber wrote:
> A fix is committed to 3821c/14279. I have tested with the above test case.
>
> Ovidiu, pl...
Ovidiu Maxiniuc

10/17/2022

07:22 PM Conversion Tools Support #6848: TRPL questions and issues
We wouldn't get very far in conversion if we couldn't emit symbols or data types. The authoritative source of how Ja... Greg Shah
07:07 PM Conversion Tools Support #6848: TRPL questions and issues
I need to create a Java annotation of the following type:... Vladimir Tsichevski
06:15 PM Conversion Tools Support #6848: TRPL questions and issues
@dbref/collect_refs.xml@ is currently disabled code and was left there on purpose. It is intended to identify refere... Greg Shah
04:28 PM Conversion Tools Support #6848: TRPL questions and issues
About the legacy annotation attribute values.
Annotations containing attributes can look like this:...
Vladimir Tsichevski
03:57 PM Conversion Tools Support #6848: TRPL questions and issues
I found, that to convert a Java array to @java.util.List@, the @createListFromObject@ library function can be used.
...
Vladimir Tsichevski
03:29 PM Conversion Tools Support #6848: TRPL questions and issues
Questions about the TRPL language should be posted and discussed here. Vladimir Tsichevski
03:27 PM Conversion Tools Support #6848 (New): TRPL questions and issues
Vladimir Tsichevski
02:17 PM Database Bug #6301: incorrect initialization of date-related fields with today and now literals
Fixed in 6129b/14302. Tested with this simple test case:... Eric Faulhaber
02:01 PM Database Bug #6301 (Test): incorrect initialization of date-related fields with today and now literals
Igor reported a regression for a table with two fields of type @datetime@ and @datetime-tz@, respectively, both with ... Eric Faulhaber
02:13 PM Database Feature #6453: temp-table features
I've noticed the following conversion problem:
The field definition...
Igor Skornyakov
10:33 AM Database Feature #6457: finish COPY-LOB support
> What are the values you're trying to use for the codepages/collation tables - for cpstream and cpinternal?
I wan...
Stanislav Lomany
08:42 AM Database Feature #6457: finish COPY-LOB support
Stanislav Lomany wrote:
> > @i18n/4gl/cp_collation.xml@ @i18n/4gl/cp_conversion.xml@ @i18n/4gl/chr_conversion.xml@ @...
Marian Edu
09:50 AM Runtime Infrastructure Feature #5776: reduce memory requirements for the FWD client
Roger Borrello wrote:
> Are there any tuning considerations we should make to our client configurations already docu...
Tomasz Domin
09:15 AM Runtime Infrastructure Feature #5776: reduce memory requirements for the FWD client
Are there any tuning considerations we should make to our client configurations already documented? Roger Borrello
03:08 AM Runtime Infrastructure Feature #5776 (Test): reduce memory requirements for the FWD client
Needed to update the patch
Committed revision 14299.
Tomasz Domin
08:16 AM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> Think about it and try to estimate the changes that are needed.
OK
Vladimir Tsichevski
07:52 AM Conversion Tools Feature #6237: OEUnit support
Think about it and try to estimate the changes that are needed. Greg Shah
07:46 AM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> > We will need to support dynamic tests then: the tests which are created in runtime by executing...
Vladimir Tsichevski
07:20 AM Conversion Tools Feature #6237: OEUnit support
> We will need to support dynamic tests then: the tests which are created in runtime by executing customer 4gl code. ... Greg Shah
07:12 AM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> Vladimir Tsichevski wrote:
> > Greg Shah wrote:
> > > > I think, we will not support these, ins...
Vladimir Tsichevski
07:05 AM Conversion Tools Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> Greg Shah wrote:
> > > I think, we will not support these, instead the declarative app...
Greg Shah
05:11 AM Runtime Infrastructure Bug #6844: Implement full support for translating Progress key codes to Windows virtual key codes
Progress key code to Windows key code translation is needed when converting OCX key event handlers. The translation t... Hynek Cihlar
05:09 AM Runtime Infrastructure Bug #6844 (New): Implement full support for translating Progress key codes to Windows virtual key...
Hynek Cihlar

10/16/2022

03:05 PM Database Feature #6457: finish COPY-LOB support
> @i18n/4gl/cp_collation.xml@ @i18n/4gl/cp_conversion.xml@ @i18n/4gl/chr_conversion.xml@ @i18n/4gl/is_conversion.xml@... Stanislav Lomany
07:15 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
> This looks suspicious and deserves attention. OTOH if it doesn't cause issues we can defer it. Looking in the histo... Greg Shah

10/15/2022

04:10 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Marian Edu wrote:
> Hynek Cihlar wrote:
> > Marian Edu wrote:
> > > The patch is good, thank you.
> >
> > I wil...
Hynek Cihlar
03:29 AM Database Feature #6348: implement support for MariaDB
There is another issue in MariaDB - sequences and tables are in the same namespace. In OE, IIRC they are not in the ... Constantin Asofiei
09:33 PM Database Feature #6348: implement support for MariaDB
Constantin Asofiei wrote:
> 6129a/14487 contains some fixes related to sequences in MariaDB:
> * fixes related to s...
Ovidiu Maxiniuc

10/14/2022

05:06 PM Runtime Infrastructure Feature #5776: reduce memory requirements for the FWD client
> Tomasz: Go ahead and merge the 5776-3.diff changes.
Tomasz: Please merge the changes.
Greg Shah
05:04 PM Database Bug #6767: Possible name clashes in DMO classes
Eric: Please review. Greg Shah
03:32 PM Conversion Tools Feature #6237: OEUnit support
Current implementation was developed in assumption that the @discover@ method of a test engine is called by the test ... Vladimir Tsichevski
02:43 PM Conversion Tools Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> Test inheritance is implemented in @OEUnit@: not only the methods in the class are disc...
Vladimir Tsichevski
01:46 PM Conversion Tools Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> Annotations conversion bug found: wrong Java annotation generated: @@BeforeAll@ instead...
Vladimir Tsichevski
01:34 PM Conversion Tools Feature #6237: OEUnit support
Annotations conversion bug found: wrong Java annotation generated: @@BeforeAll@ instead of @@BeforeEach@ and @@After... Vladimir Tsichevski
11:47 AM Conversion Tools Feature #6237: OEUnit support
Test inheritance is implemented in @OEUnit@: not only the methods in the class are discovered, but also methods in su... Vladimir Tsichevski
10:12 AM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> > I think, we will not support these, instead the declarative approach will be used, so the same ...
Vladimir Tsichevski
10:11 AM Conversion Tools Feature #6237: OEUnit support
> I think, we will not support these, instead the declarative approach will be used, so the same class will look like... Greg Shah
10:06 AM Conversion Tools Feature #6237: OEUnit support
@OEUnit@ supports dynamic test suites, for example:... Vladimir Tsichevski
03:04 PM Database Bug #6715: BufferManager.validate throws IllegalStateException if a validation fails via a Valida...
Tijs Wickardt wrote:
> Eric Faulhaber wrote:
> > Tijs, could you please check the files you committed related to th...
Tijs Wickardt
11:19 AM Database Bug #6715: BufferManager.validate throws IllegalStateException if a validation fails via a Valida...
Eric Faulhaber wrote:
> Tijs, could you please check the files you committed related to the @TailMap@ implementation...
Tijs Wickardt
11:14 AM Database Bug #6715: BufferManager.validate throws IllegalStateException if a validation fails via a Valida...
Constantin Asofiei wrote:
> In some cases, a ValidationException (which is from a bug) is wrapped in a ErrorConditio...
Eric Faulhaber
11:07 AM Database Bug #6715: BufferManager.validate throws IllegalStateException if a validation fails via a Valida...
In some cases, a ValidationException (which is from a bug) is wrapped in a ErrorConditionException, like this:... Constantin Asofiei
11:02 AM Database Bug #6715: BufferManager.validate throws IllegalStateException if a validation fails via a Valida...
Yes, @ErrorConditionException@ should be allowed through; it should not be wrapped in @IllegalStateException@. I thin... Eric Faulhaber
12:51 PM Database Feature #6348: implement support for MariaDB
Fun fact (nothing more): you can set NTFS to case sensitive in Windows.
That will OE classes in Windows to become ca...
Tijs Wickardt
12:24 PM Database Feature #6348: implement support for MariaDB
Constantin Asofiei wrote:
> Regarding case-sensitivity in MariaDB: this is OS-dependent, it will be case-insensitive...
Ovidiu Maxiniuc
12:23 PM Database Feature #6348: implement support for MariaDB
Regarding case-sensitivity in MariaDB: this is OS-dependent, it will be case-insensitive on Windows. Constantin Asofiei
12:23 PM Database Feature #6348: implement support for MariaDB
Ovidiu Maxiniuc wrote:
> How are you able to keep then in various casing?
Set @ conversion="minimal"@ in p2j.cfg.xm...
Constantin Asofiei
12:17 PM Database Feature #6348: implement support for MariaDB
Constantin Asofiei wrote:
> Ovidiu, the main issue is the case-sensitivity of sequence names (and tables, btw) in Ma...
Ovidiu Maxiniuc
11:01 AM Database Feature #6348: implement support for MariaDB
Ovidiu, with an app I'm seeing lots of @MISSING: MariaDbDialect.isQueryRangeParameterInlined()@ - is this a TODO rela... Constantin Asofiei
06:22 AM Database Feature #6348: implement support for MariaDB
6129a/14487 contains some fixes related to sequences in MariaDB:
* fixes related to sequence management in MariaDB -...
Constantin Asofiei
12:07 PM Database Feature #6453: temp-table features
Eric Faulhaber wrote:
> Igor Skornyakov wrote:
>
> > Looking at 3821c I'm not sure that it contains the fix for t...
Igor Skornyakov
11:27 AM Database Feature #6453: temp-table features
Igor Skornyakov wrote:
> Looking at 3821c I'm not sure that it contains the fix for the problem.
We have some t...
Eric Faulhaber
08:42 AM Database Feature #6453: temp-table features
Fixed a number of issues with @WRITE-XML@ and @READ-XMLSCHEMA@.
Committed to 6129a/14488.
At this moment I see ...
Igor Skornyakov
08:30 AM Database Feature #6453: temp-table features
Greg Shah wrote:
> Are you saying that Eric's solution in 3821c revs 14279 and 14280 is not sufficient to resolve th...
Igor Skornyakov
08:16 AM Database Feature #6453: temp-table features
Are you saying that Eric's solution in 3821c revs 14279 and 14280 is not sufficient to resolve the issue you have found? Greg Shah
08:09 AM Database Feature #6453: temp-table features
Greg Shah wrote:
> > In @TableMapper.loadFields@ for if @INITIAL@ is @NOW@ or @TODAY@ for date/datetime field we cal...
Igor Skornyakov
08:05 AM Database Feature #6453: temp-table features
> In @TableMapper.loadFields@ for if @INITIAL@ is @NOW@ or @TODAY@ for date/datetime field we calculate the value of ... Greg Shah
07:59 AM Database Feature #6453: temp-table features
In @TableMapper.loadFields@ for if @INITIAL@ is @NOW@ or @TODAY@ for date/datetime field we calculate the value of co... Igor Skornyakov
11:34 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Hynek Cihlar wrote:
> Marian Edu wrote:
> > The patch is good, thank you.
>
> I will run some more regression te...
Marian Edu
11:05 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Marian Edu wrote:
> The patch is good, thank you.
I will run some more regression tests before I check it in.
Hynek Cihlar
11:02 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Hynek Cihlar wrote:
> There is a regression after all. The test case is as follows:
>
> [...]
>
> This causes ...
Marian Edu
10:35 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
There is a regression after all. The test case is as follows:... Hynek Cihlar
05:30 AM User Interface Feature #6764 (Closed): Improve trigger selection for keyboard events.
Greg Shah
05:30 AM User Interface Feature #6764 (Test): Improve trigger selection for keyboard events.
Greg Shah
05:30 AM User Interface Feature #6764 (Closed): Improve trigger selection for keyboard events.
Greg Shah
04:17 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Hynek Cihlar wrote:
> Marian Edu wrote:
> > Greg Shah wrote:
> > > Is there anything left open in this task?
> > ...
Hynek Cihlar
03:37 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Marian Edu wrote:
> Greg Shah wrote:
> > Is there anything left open in this task?
>
> I don't have anything lef...
Hynek Cihlar
01:42 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Greg Shah wrote:
> Is there anything left open in this task?
I don't have anything left, all our tests in 4GL are...
Marian Edu
08:15 PM User Interface Feature #6764: Improve trigger selection for keyboard events.
Is there anything left open in this task? Greg Shah
07:10 AM Database Bug #6829: H2 forces re-parse of all prepared statements when metadata is changed
Constantin Asofiei wrote:
> Alex, there's something else I'd like to understand: I've increased the FWD's @psCache@ ...
Alexandru Lungu
05:33 AM Testing Feature #6183: design and implement (as needed) the approach for writing automated 4GL compatibil...
In our experience, ABLUnit is used more widely, which means it is probably the safer choice. More developers will kn... Greg Shah
02:05 AM Testing Feature #6183: design and implement (as needed) the approach for writing automated 4GL compatibil...
Greg Shah wrote:
> OK, we will write our non-interactive 4GL compatibility tests using unit testing.
>
> Marian: ...
Marian Edu

10/13/2022

04:18 PM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> The key question that must be answered about OEUnit and ABLUnit is whether each test or each te...
Vladimir Tsichevski
03:45 PM Conversion Tools Feature #6237: OEUnit support
In @OEUnit@ test methods annotated with @@Ignore@, are not executed, but a test result with the status @Ignored@ is g... Vladimir Tsichevski
02:48 PM Conversion Tools Feature #6237: OEUnit support
@OEUnit@ runs the after tests methods even when the before test methods and tests methods sequence ended prematurely ... Vladimir Tsichevski
02:36 PM Conversion Tools Feature #6237: OEUnit support
@OEUnit@ has two more annotations: @DataProvider@ and @Fixture@. We probably need learn their meaning and add the sup... Vladimir Tsichevski
02:32 PM Conversion Tools Feature #6237: OEUnit support
At least, @OEUnit@ discovers test recursively (when a test class is a test suite, references classes may be test suit... Vladimir Tsichevski
08:29 AM Conversion Tools Feature #6237: OEUnit support
> I suppose FWD expects that everything is executed in some top-level 4gl procedure. In our case we have no such proc... Greg Shah
03:38 PM Database Bug #6829: H2 forces re-parse of all prepared statements when metadata is changed
Alex, there's something else I'd like to understand: I've increased the FWD's @psCache@ to 65535 for a large customer... Constantin Asofiei
08:53 AM Database Bug #6829: H2 forces re-parse of all prepared statements when metadata is changed
Constantin Asofiei wrote:
> Alex, I was under the impression that a test like this, @dyntable.p@:
> [...]
>
> wh...
Alexandru Lungu
07:45 AM Database Bug #6829: H2 forces re-parse of all prepared statements when metadata is changed
Alex, I was under the impression that a test like this, @dyntable.p@:... Constantin Asofiei
07:06 AM Database Bug #6829: H2 forces re-parse of all prepared statements when metadata is changed
> In FWD, the FWD persistence session for the temporary database will get opened and closed depending on the applicat... Alexandru Lungu
06:13 AM Database Bug #6829: H2 forces re-parse of all prepared statements when metadata is changed
Alexandru Lungu wrote:
> > The FWD-level cache of prepared statements in TempTableDataSourceProvider's psCache will ...
Constantin Asofiei
05:01 AM Database Bug #6829: H2 forces re-parse of all prepared statements when metadata is changed
> But, there may be an issue: are dynamic temp-table names unique for the lifetime of a FWD server? Because a Prepare... Alexandru Lungu
03:02 PM Testing Feature #6183: design and implement (as needed) the approach for writing automated 4GL compatibil...
OK, we will write our non-interactive 4GL compatibility tests using unit testing.
Marian: Do you have a recommenda...
Greg Shah
09:34 AM Database Feature #6830: find and fix all SQL SELECT statements with inlined literal arguments, and rewrite...
Here's a report on how modifying went so far:
* Out of 26 possible spots, 16 were modified with no further problems....
Radu Apetrii
03:26 AM Database Feature #6830: find and fix all SQL SELECT statements with inlined literal arguments, and rewrite...
I have fixed the cases described previously by Constantin, apart from @FastCopyHelper.copyTable@, due to the fact tha... Radu Apetrii
08:46 AM Database Feature #6457: finish COPY-LOB support
Greg Shah wrote:
> Please provide the list of codepages/scenarios which need testing (and which you cannot test).
>...
Marian Edu
04:37 AM Database Support #6714: check if there is an optimization opportunity when copying temp-tables based on mu...
Danut, you can try using some of the following scenarios to have a comprehensive context of where such optimization m... Alexandru Lungu
03:51 AM Database Feature #6453: temp-table features
Igor Skornyakov wrote:
> Ovidiu Maxiniuc wrote:
> > The @serialize-hidden@ is a known issue which was fixed in a di...
Igor Skornyakov
03:20 AM Database Feature #6453: temp-table features
Greg Shah wrote:
> > For datetime the difference is only in case.
>
> Please analyze if this case difference matt...
Igor Skornyakov
02:40 AM Database Feature #6453: temp-table features
Ovidiu Maxiniuc wrote:
> The @serialize-hidden@ is a known issue which was fixed in a different branch. To fix it, o...
Igor Skornyakov

10/12/2022

06:30 PM Database Feature #6453: temp-table features
The @serialize-hidden@ is a known issue which was fixed in a different branch. To fix it, open @DynamicTablesHelper.j... Ovidiu Maxiniuc
11:53 AM Database Feature #6453: temp-table features
Igor Skornyakov wrote:
> It looks that the problem with @WRITE-XMLSCHEMA@ for dynamic TEMP-TABLE in FWD is that for ...
Igor Skornyakov
11:44 AM Database Feature #6453: temp-table features
> For datetime the difference is only in case.
Please analyze if this case difference matters in our runtime. If ...
Greg Shah
10:55 AM Database Feature #6453: temp-table features
Greg Shah wrote:
> > Should I fix defaultFormatString() methods to match defFormats?
>
> Probably not. I think th...
Igor Skornyakov
10:31 AM Database Feature #6453: temp-table features
> Should I fix defaultFormatString() methods to match defFormats?
Probably not. I think that may cause regressions...
Greg Shah
05:13 AM Database Feature #6453: temp-table features
Marian Edu wrote:
> Greg Shah wrote:
> > Constantin/Marian: Can you please advise Igor on how he can test the behav...
Igor Skornyakov
04:55 AM Database Feature #6453: temp-table features
Greg Shah wrote:
> Constantin/Marian: Can you please advise Igor on how he can test the behavior of @SCHEMA-MARSHAL@...
Marian Edu
04:36 AM Database Feature #6453: temp-table features
Marian Edu wrote:
> Igor Skornyakov wrote:
> > It looks that the problem with @WRITE-XMLSCHEMA@ for dynamic TEMP-TA...
Igor Skornyakov
04:34 AM Database Feature #6453: temp-table features
Igor Skornyakov wrote:
> It looks that the problem with @WRITE-XMLSCHEMA@ for dynamic TEMP-TABLE in FWD is that for ...
Marian Edu
04:25 AM Database Feature #6453: temp-table features
It looks that the problem with @WRITE-XMLSCHEMA@ for dynamic TEMP-TABLE in FWD is that for all fields of such table @... Igor Skornyakov
03:23 AM Database Feature #6453: temp-table features
Igor Skornyakov wrote:
> Igor Skornyakov wrote:
> > I've noticed a strange thing.
> > For some field data types (e...
Igor Skornyakov
06:14 PM Conversion Tools Feature #6237: OEUnit support
Now tests can be executed remotely. See @6237-remote.diff@.
Here it is how it looks when running the @Run as... > ...
Vladimir Tsichevski
04:24 PM Database Bug #6837: prevent unnecessary upper/rtrim injection in queries if the data type doesn't require it
Eric Faulhaber wrote:
> The insertion of @upper@ occurs at least during conversion, possibly at runtime. The inserti...
Ovidiu Maxiniuc
04:02 PM Database Bug #6837: prevent unnecessary upper/rtrim injection in queries if the data type doesn't require it
In some cases, we are using @upper@ and/or @rtrim@ in WHERE and ORDER BY clauses to adjust textual columns that don't... Eric Faulhaber
03:52 PM Database Bug #6837 (WIP): prevent unnecessary upper/rtrim injection in queries if the data type doesn't re...
Eric Faulhaber
10:12 AM Database Feature #6457: finish COPY-LOB support
Please provide the list of codepages/scenarios which need testing (and which you cannot test).
Marian: I think we ...
Greg Shah
09:58 AM Database Feature #6457: finish COPY-LOB support
> Is the testing issue caused by the virtual machine not having the needed codepages installed?
Some cases claim t...
Stanislav Lomany
09:29 AM Database Feature #6457: finish COPY-LOB support
> I cannot change -cpstream/-cpinternal parameters on a customer's VM either, so I cannot experiment with it.
Is ...
Greg Shah
09:16 AM Database Feature #6457: finish COPY-LOB support
I cannot change @-cpstream@/@-cpinternal@ parameters on a customer's VM either, so I cannot experiment with it.
Mor...
Stanislav Lomany

10/11/2022

05:00 PM Database Feature #6371: implement SAVE CACHE statement
Pushed revision 14113. Now it's going past @generateSchemaAst()@ call. I can't test further because of some misconfig... Boris Schegolev
03:45 PM Database Feature #6453: temp-table features
Ovidiu Maxiniuc wrote:
> Igor Skornyakov wrote:
> > It looks that the value of the @SCHEMA-MARSHAL@ attribute has n...
Greg Shah
03:01 PM Database Feature #6453: temp-table features
Igor Skornyakov wrote:
> I've noticed a strange thing.
> For some field data types (e.g. @datetime@, @recid@, @hand...
Igor Skornyakov
11:18 AM Database Feature #6453: temp-table features
Added COLUMN-CODEPAGE field attribute support (conversion and @WRITE-XMLSCHEMA@)
Committed to 6129a/14482.
Igor Skornyakov
12:29 PM Database Bug #6829: H2 forces re-parse of all prepared statements when metadata is changed
As a query can target multiple metadata (like tables, indexes, sequences), the cache needs to be notified to evict a... Constantin Asofiei
10:59 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
6764.04.patch checked in 3821c revision 14285. Hynek Cihlar
10:45 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Yes, sorry. Greg Shah
10:30 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Greg Shah wrote:
> Hynek: Please merge the changes into 3821a.
Will do, I assume you mean 3821c.
Hynek Cihlar
10:04 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Hynek: Please merge the changes into 3821a. Greg Shah
09:57 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Marian Edu wrote:
> Hynek Cihlar wrote:
> > move @specificWidget@ before @lookupEventHelper@.
> Actually that is l...
Hynek Cihlar
06:54 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Hynek Cihlar wrote:

> In @EventDefinition.lookup@ the condition for "global anywhere" excludes resource check, wh...
Marian Edu
03:53 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Code review @6764.03.patch@.
The changes look good, I didn't do any regression testing though. Just a few minor co...
Hynek Cihlar
08:51 AM Database Bug #6835: deferred work for #6257
This task is meant to properly handle the root cause of #6257.
Eric/Ovidiu: Please document the issue and solution...
Greg Shah
08:50 AM Database Bug #6835 (New): deferred work for #6257
Greg Shah
08:50 AM Database Bug #6834: RAQ navigation on records having NULL values on same index components
This task is meant to properly handle the root cause of #6755.
Eric/Ovidiu: Please document the issue and solution...
Greg Shah
08:48 AM Database Bug #6834 (Closed): RAQ navigation on records having NULL values on same index components
Greg Shah
08:28 AM Database Bug #6767: Possible name clashes in DMO classes
Greg Shah wrote:
> Please post the final proposed patch.
Done @6767-full.diff@.
Vladimir Tsichevski
08:16 AM Database Bug #6767: Possible name clashes in DMO classes
Please post the final proposed patch. Greg Shah
08:07 AM Database Bug #6767 (Review): Possible name clashes in DMO classes
Vladimir Tsichevski wrote:
> UPD: this patch is probably causes some regressions like @org.postgresql.util.PSQLExcep...
Vladimir Tsichevski
08:05 AM Database Bug #6767: Possible name clashes in DMO classes
Some more changes needed, since some TRPL properties do not exist anymore, and the method call must be used now inste... Vladimir Tsichevski

10/10/2022

06:32 PM Database Bug #6767 (WIP): Possible name clashes in DMO classes
UPD: this patch is probably causes some regressions like @org.postgresql.util.PSQLException: ERROR: column wfnregio__... Vladimir Tsichevski
06:23 PM Database Bug #6767 (Review): Possible name clashes in DMO classes
Vladimir Tsichevski
06:23 PM Database Bug #6767 (WIP): Possible name clashes in DMO classes
Attached is the patch for this issue (@6767.diff@).
After this patch is applied, you will need to re-convert all c...
Vladimir Tsichevski
09:15 AM Database Bug #6767: Possible name clashes in DMO classes
Eric Faulhaber wrote:
> DMO getters/setters can be of the form:
>
> [...]
So, the following methods from the...
Vladimir Tsichevski
04:14 PM User Interface Feature #6764: Improve trigger selection for keyboard events.
Hynek: Are you OK with the proposed patch? Greg Shah
01:04 PM Database Feature #6453: temp-table features
Ovidiu Maxiniuc wrote:
> I think @rules/schema/fixups.xml@. See the other attributes are processed around lines 690....
Igor Skornyakov
12:49 PM Database Feature #6453: temp-table features
I think @rules/schema/fixups.xml@. See the other attributes are processed around lines 690. Ovidiu Maxiniuc
10:47 AM Database Feature #6453: temp-table features
I see that @KW_COL_CP@ AST (@COLUMN-CODEPAGE@) exists in .schema file but is missed in .p2o one.
What is the right p...
Igor Skornyakov
12:34 PM Database Bug #6829: H2 forces re-parse of all prepared statements when metadata is changed
The FWD-level cache of prepared statements in @TempTableDataSourceProvider@'s psCache will also keep statements relat... Constantin Asofiei
09:01 AM Database Feature #6582: implement multi-table AdaptiveQuery
I replaced H2 (fwd-h2/rev.6) with H2 PAGESTORE (fwd-h2/rev. 6) and H2 MVSTORE (2.1.214) in #6582-40. The previous res... Alexandru Lungu
07:51 AM Base Language Feature #1970: improve ControlFlowOps method resolution by reflection
3821c/14283 fixed problems in 3821c/14268:
* for typed FUNCTION calls, convert the returned value to the expected ty...
Constantin Asofiei
07:41 AM Database Feature #6695: Multi-table preselect query may underperform due to repetitive fetching
I committed on 6582a, rev.14168. This change targets the improvement in performance regarding fetching for @Preselect... Radu Apetrii
05:44 AM Database Bug #6809 (Test): find current ... exclusive-lock no-wait. not working
Eric Faulhaber wrote:
> Fixed in 6129a/14477. Constantin, please review and test with the original application, if y...
Constantin Asofiei
02:24 AM Database Bug #6809 (Review): find current ... exclusive-lock no-wait. not working
Fixed in 6129a/14477. Constantin, please review and test with the original application, if you have a recreate beyond... Eric Faulhaber
05:30 AM Base Language Feature #6820: reduce String.toLowerCase and toUpperCase usage and String instances
New changes are in 3821c/14281:
* Reduced 'toLowerCase' usage in 'BufferImpl.attachDataSource'.
Constantin Asofiei
05:30 AM Database Feature #6813: analyze and improve performance of dynamic conversion of temp-tables and queries
Other changes are in 3821c/14281:
* Avoid reflection when creating a new instance, in AnnotatedAst - added 'newInsta...
Constantin Asofiei
05:29 AM Base Language Feature #6826: reduce the BDT usage in FWD runtime
Ovidiu Maxiniuc wrote:
> @AnnotatedAst@:
> * @private String getPath(int max)@: it does not look like an optimizati...
Constantin Asofiei
03:33 AM Database Feature #6830: find and fix all SQL SELECT statements with inlined literal arguments, and rewrite...
The task title mentions SELECT, but all kind of queries need to be checked/fixed: INSERT, UPDATE, DELETE. Constantin Asofiei
03:22 AM Database Feature #6830 (WIP): find and fix all SQL SELECT statements with inlined literal arguments, and r...
Alexandru Lungu
03:16 AM Database Bug #6301: incorrect initialization of date-related fields with today and now literals
Eric Faulhaber wrote:
> Alexandru, please take a look at @FastCopyHelper.getInitialValue@. This method is affected b...
Alexandru Lungu

10/09/2022

04:26 PM Database Bug #6301: incorrect initialization of date-related fields with today and now literals
Constantin Asofiei wrote:
> Eric, 3821c/14279 regresses some automated tests with this:
> [...]
Thanks for findi...
Eric Faulhaber
08:16 AM Database Bug #6301: incorrect initialization of date-related fields with today and now literals
Eric, 3821c/14279 regresses some automated tests with this:... Constantin Asofiei

10/08/2022

06:29 PM Database Bug #6809 (WIP): find current ... exclusive-lock no-wait. not working
Eric Faulhaber
06:26 PM Database Bug #6812: fix FastFindCache to use a shared instance per persistent database
Ovidiu Maxiniuc wrote:
> The factory makes sure the permanent databases use a commonly shared instance of @FastFindC...
Eric Faulhaber
06:06 PM Database Bug #6301 (Review): incorrect initialization of date-related fields with today and now literals
A fix is committed to 3821c/14279. I have tested with the above test case.
Ovidiu, please review.
Alexandru, pl...
Eric Faulhaber
08:48 PM Base Language Feature #6826: reduce the BDT usage in FWD runtime
Constantin Asofiei wrote:
> Some changes are in 3821c/14272. Ovidiu, please review.
Global notes:
* the replace...
Ovidiu Maxiniuc

10/07/2022

09:11 AM Database Support #6713: check if it is faster to use separate temp-table instances instead of multiplex id
I made tests for bulk delete and copy temp-table.
* *copy-temp-table-multiplex-{n}*, *copy-temp-table-no-multiplex-{...
Dănuț Filimon
07:13 AM Database Feature #6453: temp-table features
Constantin Asofiei wrote:
> > Fixed in 6129a/14474.
> Igor, you still have @lfi.getSerializeOptions(null).getXmlDat...
Igor Skornyakov
06:58 AM Database Feature #6453: temp-table features
Igor Skornyakov wrote:
> Ovidiu Maxiniuc wrote:
> > * @TableMapper@: I have not studied the new signatures (which u...
Constantin Asofiei
05:08 AM Database Feature #6453: temp-table features
Ovidiu Maxiniuc wrote:
> * @TableMapper@: I have not studied the new signatures (which use the new @TempTable@ param...
Igor Skornyakov
02:31 AM Database Feature #6453: temp-table features
Ovidiu Maxiniuc wrote:
> Review of 6129a/14473.
> * @AbstractTempTable@: shouldn't the last parameter of the 3131 e...
Igor Skornyakov
06:57 AM Database Feature #4011: database/persistence layer performance improvements
Constantin Asofiei wrote:
> I'm editing #4011-5 again, I'll comment when I'm done.
I've finished editing.
Constantin Asofiei
04:26 AM Database Feature #4011: database/persistence layer performance improvements
I'm editing #4011-5 again, I'll comment when I'm done. Constantin Asofiei
04:34 AM Database Bug #6829: H2 forces re-parse of all prepared statements when metadata is changed
As a side note: when executing some 60k H2 prepared statements, ~70% of the time is being spent in re-compiling the q... Constantin Asofiei
04:22 AM Database Bug #6829: H2 forces re-parse of all prepared statements when metadata is changed
In H2, there is this code in @org.h2.command.Prepared@:... Constantin Asofiei
04:18 AM Database Bug #6829 (Closed): H2 forces re-parse of all prepared statements when metadata is changed
Constantin Asofiei
04:30 AM Database Feature #6830: find and fix all SQL SELECT statements with inlined literal arguments, and rewrite...
This is mostly I think about multiplex ID being inlined instead of using an argument. The cases I found are:... Constantin Asofiei
04:28 AM Database Feature #6830 (Closed): find and fix all SQL SELECT statements with inlined literal arguments, an...
Constantin Asofiei
03:25 AM Database Feature #6457: finish COPY-LOB support
> Try setting the same value for all these cp parameters
Errors are the same for this case too.
Stanislav Lomany

10/06/2022

06:09 PM Database Feature #6453: temp-table features
Review of 6129a/14473.
* @AbstractTempTable@: shouldn't the last parameter of the 3131 error message be @LegacyResou...
Ovidiu Maxiniuc
02:48 PM Database Feature #6453: temp-table features
* Fixed issues with @WRITE-XMLSCHEMA@/@READ-XMLSCHEMA@ described in #6453-11 except the issue with @WRITE-XMLSCHEMA@ ... Igor Skornyakov
07:22 AM Database Feature #6453: temp-table features
Constantin Asofiei wrote:
> Igor, regarding the change in 6129a/14418 - are you sure PRIMARY defaults to the first d...
Igor Skornyakov
02:00 AM Database Feature #6453: temp-table features
Ovidiu Maxiniuc wrote:
> Igor Skornyakov wrote:
> > I see. Sorry. Will change back.
> > Please note however, that ...
Igor Skornyakov
04:49 PM Database Feature #6457: finish COPY-LOB support
I know, I had the same problems :(.
Try setting the same value for all these cp parameters, unless having them diffe...
Ovidiu Maxiniuc
03:51 PM Database Feature #6457: finish COPY-LOB support
Guys, I've been trying to experiment with @-cpstream@ and @-cpinternal@ parameters and found that when it comes to se... Stanislav Lomany
10:14 AM Database Support #6679: H2 general performance tuning
Committed hotel_gui/rev.252. I added the H2 performance tests to the Hotel GUI application.
Added a window with a ...
Dănuț Filimon
10:12 AM Base Language Feature #6826: reduce the BDT usage in FWD runtime
Another idea is to replace @new unknown@ (conversion and runtime) with a singleton instance. Constantin Asofiei
04:27 AM Base Language Feature #6826: reduce the BDT usage in FWD runtime
Some changes are in 3821c/14272. Ovidiu, please review. Constantin Asofiei
03:55 AM Base Language Feature #6826: reduce the BDT usage in FWD runtime
The WrappedResource refactor will be done in #6827. Constantin Asofiei
03:48 AM Base Language Feature #6826: reduce the BDT usage in FWD runtime
There are resources like StaticTempTable where the state is kept as BDT, and converted APIs are being called to read ... Constantin Asofiei
03:43 AM Base Language Feature #6826 (Review): reduce the BDT usage in FWD runtime
Constantin Asofiei
10:01 AM Base Language Feature #6416: explore and implement ideas to make OO 4GL more efficient
Constantin Asofiei wrote:
> No, as the 4GL classes are loaded/initialized per each user context - they are *not* JVM...
Marian Edu
02:41 AM Base Language Feature #6416: explore and implement ideas to make OO 4GL more efficient
Other notes:
* cache resolved object methods per type, arguments (see CFOps resolveLegacyEntry)
* cache 'method not...
Constantin Asofiei
02:35 AM Base Language Feature #6416: explore and implement ideas to make OO 4GL more efficient
Marian Edu wrote:
> Constantin Asofiei wrote:
> > A part of the problem is the instance initialization in 4GL; the...
Constantin Asofiei
06:08 AM Database Feature #4011: database/persistence layer performance improvements
Constantin Asofiei wrote:
> I'm editing note #4011-5 to add other tasks. I'll comment when I'm done.
I've finished ...
Constantin Asofiei
02:12 AM Database Feature #4011: database/persistence layer performance improvements
I'm editing note #4011-5 to add other tasks. I'll comment when I'm done. Constantin Asofiei
05:23 AM Database Feature #6695: Multi-table preselect query may underperform due to repetitive fetching
There was a mistake in explanation on my part in the last post. In order to make this more clear, I will describe thi... Radu Apetrii
04:29 AM Base Language Feature #6821: java collection performance
Eric: you may want to take a look at ScopedList, too. Constantin Asofiei
04:26 AM Base Language Feature #6821: java collection performance
Some changes are in 3821c/14272. Greg, please review. Constantin Asofiei
03:14 AM Base Language Feature #6821: java collection performance
For example, using Java for-each loop for an an ArrayList instead of a @for@ and getting the elements directly is mor... Constantin Asofiei
03:09 AM Base Language Feature #6821 (WIP): java collection performance
Constantin Asofiei
04:28 AM Base Language Feature #6827: reduce the memory footprint of WrappedResource implementations: replace BDTs with ...
Some changes are in 3821c/14272. Greg, please review. Constantin Asofiei
03:54 AM Base Language Feature #6827: reduce the memory footprint of WrappedResource implementations: replace BDTs with ...
This task is meant to look at WrappedResource implementations ('handles' in OE) and replace all BDT state with Java s... Constantin Asofiei
03:53 AM Base Language Feature #6827 (WIP): reduce the memory footprint of WrappedResource implementations: replace BDTs...
Constantin Asofiei
04:27 AM Database Feature #6825: improve table meta runtime (TableMapper and other)
Some changes are in 3821c/14272. Ovidiu, please review. Constantin Asofiei
03:37 AM Database Feature #6825: improve table meta runtime (TableMapper and other)
In TableMapper, because of some mutable state, a new LegacyTableInfo was being created for each buffer definition. T... Constantin Asofiei
03:35 AM Database Feature #6825 (WIP): improve table meta runtime (TableMapper and other)
Constantin Asofiei
04:27 AM Base Language Feature #6824: lazy initialization of collection class members
Some changes are in 3821c/14272. Greg, please review. Constantin Asofiei
03:28 AM Base Language Feature #6824: lazy initialization of collection class members
For example, there are BlockDefinition collection fields which can be assigned only when that field is required. Som... Constantin Asofiei
03:26 AM Base Language Feature #6824 (WIP): lazy initialization of collection class members
Constantin Asofiei
04:27 AM Base Language Feature #6822: performance of the FWD proxy implementation
Some changes are in 3821c/14272. Greg, please review. Constantin Asofiei
03:20 AM Base Language Feature #6822: performance of the FWD proxy implementation
There are two parts which need to be analyzed for performance impact (and object allocation):
* a new proxy creation...
Constantin Asofiei
03:18 AM Base Language Feature #6822 (New): performance of the FWD proxy implementation
Constantin Asofiei
04:26 AM Base Language Feature #6820: reduce String.toLowerCase and toUpperCase usage and String instances
Some changes are in 3821c/14272. Greg, please review. Constantin Asofiei
03:08 AM Base Language Feature #6820: reduce String.toLowerCase and toUpperCase usage and String instances
4GL is by default case-insensitive. This proves tricky in FWD, as we need to i.e. keep registries with lowercased st... Constantin Asofiei
02:51 AM Base Language Feature #6820 (Review): reduce String.toLowerCase and toUpperCase usage and String instances
Constantin Asofiei
04:26 AM Base Language Feature #6814: JMX instrumentation for FWD core, persistance and ORM layers
Some changes are in 3821c/14272. Greg, please review. Constantin Asofiei
02:23 AM Base Language Feature #6814: JMX instrumentation for FWD core, persistance and ORM layers
The following are pending to be committed in 3821c:... Constantin Asofiei
02:14 AM Base Language Feature #6814 (New): JMX instrumentation for FWD core, persistance and ORM layers
Constantin Asofiei
04:26 AM Database Feature #6813: analyze and improve performance of dynamic conversion of temp-tables and queries
Some changes are in 3821c/14272. Greg, please review. Constantin Asofiei
02:12 AM Database Feature #6813: analyze and improve performance of dynamic conversion of temp-tables and queries
Parsing and TRPL rules are being executed for each dynamic query (at least the parsing/conversion of the query predic... Constantin Asofiei
02:10 AM Database Feature #6813 (WIP): analyze and improve performance of dynamic conversion of temp-tables and que...
Constantin Asofiei
03:25 AM Database Feature #6823: improve TemporaryBuffer/RecordBuffer define and buffer delete
For complex applications, with 1000s (or maybe 10k's) of buffer definitions in 100s of programs or legacy classes, th... Constantin Asofiei
03:23 AM Database Feature #6823 (New): improve TemporaryBuffer/RecordBuffer define and buffer delete
Constantin Asofiei
02:51 AM Base Language Feature #6819: refactor FWD proxy implementation to use ReflectASM instead of Java Method reflection
In a large application tested with 6129a, @Utils.invoke(Method method, Object instance, Object... args)@ is being cal... Constantin Asofiei
02:43 AM Base Language Feature #6819 (New): refactor FWD proxy implementation to use ReflectASM instead of Java Method r...
Constantin Asofiei
02:42 AM Base Language Feature #6818: analyze the performance of the FWD open client proxy client support
In 6129a, there are some performance improvements in DataSetSDOHelper, to cache the meta fields for a temp-table, but... Constantin Asofiei
02:37 AM Base Language Feature #6818 (WIP): analyze the performance of the FWD open client proxy client support
Constantin Asofiei
02:36 AM Database Feature #6816: improve PreselectQuery.assembleHQL
The code in PreselectQuery.assembleHQL appears in the profiler when testing very complex application APIs, in 6129a. ... Constantin Asofiei
02:26 AM Database Feature #6816 (Internal Test): improve PreselectQuery.assembleHQL
Constantin Asofiei
02:31 AM Base Language Feature #6817: replace INSTANTIATING-PROCEDURE and other handle<ExternalProgram> with the actual ...
Some work related to this has already been done in 6129a. Constantin Asofiei
02:30 AM Base Language Feature #6817: replace INSTANTIATING-PROCEDURE and other handle<ExternalProgram> with the actual ...
The referent (which is held in an ExternalProgram) needs to be kept as a WeakReference.
The part which needs speci...
Constantin Asofiei
02:29 AM Base Language Feature #6817 (Test): replace INSTANTIATING-PROCEDURE and other handle<ExternalProgram> with the ...
Constantin Asofiei
02:25 AM Database Feature #6815: configure all cache sizes in the directory, and create documentation for them
In 6129a, the prepared statement cache in TempTableDataSourceProvider is still configured to 100 - this was not enoug... Constantin Asofiei
02:24 AM Database Feature #6815 (Review): configure all cache sizes in the directory, and create documentation for ...
Constantin Asofiei
02:13 AM Database Support #6714 (WIP): check if there is an optimization opportunity when copying temp-tables based...
Alexandru Lungu
01:32 AM Database Bug #6812: fix FastFindCache to use a shared instance per persistent database
FastFindCache is now created for both temp-table and permanent databases. The problem is that for permanent (or meta,... Constantin Asofiei

10/05/2022

07:22 PM Database Bug #6812: fix FastFindCache to use a shared instance per persistent database
The factory makes sure the permanent databases use a commonly shared instance of @FastFindCache@ while for the temp-t... Ovidiu Maxiniuc
06:36 PM Database Bug #6812: fix FastFindCache to use a shared instance per persistent database
> FastFindCache looks like is only for temp-tables
It isn't used for permanent databases?
Greg Shah
04:11 PM Database Bug #6812: fix FastFindCache to use a shared instance per persistent database
Constantin Asofiei wrote:
> Eric, the FastFindCache looks like is only for temp-tables, and not other databases (lik...
Constantin Asofiei
04:09 PM Database Bug #6812: fix FastFindCache to use a shared instance per persistent database
Eric, the FastFindCache looks like is only for temp-tables, and not other databases (like meta). So my assumption is ... Constantin Asofiei
03:56 PM Database Bug #6812: fix FastFindCache to use a shared instance per persistent database
Eric Faulhaber wrote:
> ... or to have a separate cache for each database?
Good point. It needs to be per database...
Constantin Asofiei
03:07 PM Database Bug #6812: fix FastFindCache to use a shared instance per persistent database
Does it make more sense to qualify the table name with database name, or to have a separate cache for each database? Eric Faulhaber
02:59 PM Database Bug #6812: fix FastFindCache to use a shared instance per persistent database
We use @RecordIdentifier@ in @FastFindCache@ having the table identifier a simple string with the record's implementa... Constantin Asofiei
02:56 PM Database Bug #6812 (Internal Test): fix FastFindCache to use a shared instance per persistent database
Constantin Asofiei
07:16 PM Database Feature #6453: temp-table features
Igor Skornyakov wrote:
> I see. Sorry. Will change back.
> Please note however, that in my test the previous versio...
Ovidiu Maxiniuc
04:50 PM Database Feature #6453: temp-table features
Ovidiu Maxiniuc wrote:
> Just noticed an issue in @ErrorManager@ 6129a/14418.
> You fixed error message for error 3...
Igor Skornyakov
04:27 PM Database Feature #6453: temp-table features
Just noticed an issue in @ErrorManager@ 6129a/14418.
You fixed error message for error 3131 wrongly. There are tens ...
Ovidiu Maxiniuc
02:36 PM Database Feature #6453: temp-table features
The @codePage@ attribute of the @Property@ annotation is not populated in the generated DMO interface for the static ... Igor Skornyakov
12:52 PM Database Feature #6453: temp-table features
Ovidiu Maxiniuc wrote:
> Igor,
> Please do the test in all cases: the table was prepared or not, the index was set ...
Igor Skornyakov
12:49 PM Database Feature #6453: temp-table features
I've noticed a strange thing.
For some field data types (e.g. @datetime@, @recid@, @handle@ and @com-hangle@) in the...
Igor Skornyakov
12:45 PM Database Feature #6453: temp-table features
Igor,
Please do the test in all cases: the table was prepared or not, the index was set as primary or not. I do not ...
Ovidiu Maxiniuc
12:06 PM Database Feature #6453: temp-table features
Constantin Asofiei wrote:
> Igor, regarding the change in 6129a/14418 - are you sure PRIMARY defaults to the first d...
Igor Skornyakov
11:08 AM Database Feature #6453: temp-table features
Igor, regarding the change in 6129a/14418 - are you sure PRIMARY defaults to the first defined index, and not the fir... Constantin Asofiei
10:06 AM Database Feature #6453: temp-table features
I see multiple incompatibilities between FWD and 4GL in the @WRITE-XMLSCHEMA@ output.
In particular some @element@ a...
Igor Skornyakov
03:21 AM Database Feature #6453: temp-table features
Constantin Asofiei wrote:
> Igor/Eric/Ovidiu: we use the WRITE-XML and READ-XML behavior to serialize the payload bo...
Igor Skornyakov
02:45 AM Database Feature #6453: temp-table features
Igor/Eric/Ovidiu: we use the WRITE-XML and READ-XML behavior to serialize the payload both for read and write, for XM... Constantin Asofiei
05:48 PM Conversion Tools Feature #6237: OEUnit support
Yes, I assumed as much. It is exactly why I suggested that we create a new thread to execute @ClientCore.start()@ in... Greg Shah
03:31 PM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> As part of my suggestion in #6237-61, I was assuming that the test engine client would "Define th...
Vladimir Tsichevski
03:27 PM Conversion Tools Feature #6237: OEUnit support
As part of my suggestion in #6237-61, I was assuming that the test engine client would "Define the lambda as a execut... Greg Shah
03:00 PM Conversion Tools Feature #6237: OEUnit support
I see some problem here.
The JUnit5 testing life cycle assumes the program is being called from outside multiple t...
Vladimir Tsichevski
02:21 PM Database Bug #6703: loading schema table DMO interface with no defined fields
My point was that the records exited in the original table and we need to have a table in FWD/SQL with same (well, eq... Ovidiu Maxiniuc
02:17 PM Database Bug #6703: loading schema table DMO interface with no defined fields
Ovidiu, I tested loading a .d for a table with no fields in the Data Administration, in OpenEdge:
* created a no-fie...
Constantin Asofiei
02:03 PM Database Bug #6703: loading schema table DMO interface with no defined fields
Eric Faulhaber wrote:
> Ovidiu Maxiniuc wrote:
> > * @Persister.java@: to avoid @ArrayIndexOutOfBoundsException@ wh...
Ovidiu Maxiniuc
12:10 PM Base Language Bug #6811: ERROR conditions converted to structured OO exceptions are not logged in OE
When an an ERROR condition is thrown instead of raised, OE doesn't seem to log it in the appserver. For example, this... Constantin Asofiei
12:08 PM Base Language Bug #6811 (New): ERROR conditions converted to structured OO exceptions are not logged in OE
Constantin Asofiei
11:08 AM Database Bug #6810 (Review): NPE in PreselectQuery.assembleFromClause
This test:... Constantin Asofiei
10:54 AM Database Bug #6810 (Review): NPE in PreselectQuery.assembleFromClause
Constantin Asofiei
09:48 AM Database Bug #6809: find current ... exclusive-lock no-wait. not working
This needs to be fixed in 6129a Constantin Asofiei
09:32 AM Database Bug #6809: find current ... exclusive-lock no-wait. not working
The recreate is this, using to FWD clients:
* run first program @b1.p@ - do not press any key:...
Constantin Asofiei
09:29 AM Database Bug #6809 (Test): find current ... exclusive-lock no-wait. not working
Constantin Asofiei
07:43 AM Database Feature #6582: implement multi-table AdaptiveQuery
In my effort to seek optimizing methods for our in-memory H2, I took some time to analyze some in-memory (eventually ... Alexandru Lungu
07:09 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
> 6764.03.patch
I've tested misc related cases for the browse and found no regressions. I'm OK with the changes fo...
Stanislav Lomany
05:01 AM Base Language Feature #6650: improve performance of Scopeable notification in TM.processScopeNotifications
ca_upd_20221002b_3821c_14261.zip was committed to 3821c/14269 Constantin Asofiei
04:39 AM Base Language Feature #1970: improve ControlFlowOps method resolution by reflection
ca_upd_20221002a_3821c_14261.zip was committed to 3821c/14268 Constantin Asofiei

10/04/2022

04:29 PM Database Feature #6453: temp-table features
Ovidiu Maxiniuc wrote:
> As a first observation, I agree with Eric's note #6453-24: FWD is quite a large project, it...
Igor Skornyakov
04:25 PM Database Feature #6453: temp-table features
As a first observation, I agree with Eric's note #6453-24: FWD is quite a large project, it has 200+ dependencies (ja... Ovidiu Maxiniuc
04:00 PM Database Feature #6453: temp-table features
Greg Shah wrote:
> Also note that sometimes it is harder to meet specific 4GL compatibility requirements using 3rd p...
Igor Skornyakov
03:48 PM Database Feature #6453: temp-table features
Also note that sometimes it is harder to meet specific 4GL compatibility requirements using 3rd party libraries that ... Greg Shah
02:21 PM Database Feature #6453: temp-table features
Eric Faulhaber wrote:
> I agree with most of your points, except the performance assumption in your first point (and...
Igor Skornyakov
02:13 PM Database Feature #6453: temp-table features
Igor Skornyakov wrote:
> I undestand this. My points is
> * for this particular piece of functionality performan...
Eric Faulhaber
01:52 PM Database Feature #6453: temp-table features
Eric Faulhaber wrote:
> We are very careful about introducing new dependencies into the project and in fact we are s...
Igor Skornyakov
01:36 PM Database Feature #6453: temp-table features
We are very careful about introducing new dependencies into the project and in fact we are striving to simplify by re... Eric Faulhaber
01:14 PM Database Feature #6453: temp-table features
Igor Skornyakov wrote:
> Don't you think that instead of manual implementtation it makes sense to use some open-sour...
Igor Skornyakov
12:05 PM Database Feature #6453: temp-table features
It is easy to fix FWD to add index data to the @WRITE-XMLSCHEMA@ output. All we need is no comment @!this.isSchemaOnl... Igor Skornyakov
02:38 PM Database Bug #6767: Possible name clashes in DMO classes
Vladimir Tsichevski wrote:
> Eric Faulhaber wrote:
> > To clarify the task, we need to work through all superinterf...
Eric Faulhaber
11:31 AM Database Feature #6347: change the name conversion to provide a configurable option to not emit "snake case"
Eric Faulhaber wrote:
> Constantin Asofiei wrote:
> > Eric, I'm placing this back to WIP as this prevents 6129a to ...
Constantin Asofiei
11:07 AM Database Feature #6347: change the name conversion to provide a configurable option to not emit "snake case"
Constantin Asofiei wrote:
> Eric, I'm placing this back to WIP as this prevents 6129a to be tested with other projec...
Eric Faulhaber
10:55 AM Database Feature #6695: Multi-table preselect query may underperform due to repetitive fetching
Radu, please help me understand this better (perhaps it will make more sense to me when I review the update).
My c...
Eric Faulhaber
05:26 AM Database Feature #6695: Multi-table preselect query may underperform due to repetitive fetching
After some analysis, I have identified a spot in @PreselectQuery@ where things could be optimized. The problem was as... Radu Apetrii
09:45 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Hynek/Stanislav: Please review. Greg Shah
06:51 AM Conversion Tools Feature #6237: OEUnit support
To pass test descriptors over network, we need to make them @Serializable@ or @Externalizable@. Original POS test des... Vladimir Tsichevski

10/03/2022

03:49 PM Base Language Feature #6650: improve performance of Scopeable notification in TM.processScopeNotifications
Please merge ca_upd_20221002b_3821c_14261.zip into 3821c. Greg Shah
01:48 PM Database Feature #6453: temp-table features
Ovidiu Maxiniuc wrote:
> I implemented this using the reference manual and tested on real customer application. The ...
Igor Skornyakov
01:36 PM Database Feature #6453: temp-table features
Igor Skornyakov wrote:
> It looks that the value of the @SCHEMA-MARSHAL@ attribute has no effect on the @WRITE-XMLSC...
Ovidiu Maxiniuc
01:03 PM Database Feature #6453: temp-table features
Igor Skornyakov wrote:
> Actually there are minor incompatibilities:
> # The initial value of th @PRIMARY@ attribut...
Igor Skornyakov
11:53 AM Database Feature #6453: temp-table features
Igor Skornyakov wrote:
> Ovidiu Maxiniuc wrote:
>
> > OTOH, the PRIMARY attribute lacks both both conversion and ...
Igor Skornyakov
11:32 AM Database Feature #6453: temp-table features
Ovidiu Maxiniuc wrote:
> OTOH, the PRIMARY attribute lacks both both conversion and runtime support. The good news...
Igor Skornyakov
11:10 AM Database Feature #6453: temp-table features
Igor Skornyakov wrote:
> It looks that the value of the @SCHEMA-MARSHAL@ attribute has no effect on the @WRITE-XMLSC...
Igor Skornyakov
05:53 AM Database Feature #6453: temp-table features
It looks that the value of the @SCHEMA-MARSHAL@ attribute has no effect on the @WRITE-XMLSCHEMA@ output (both for 4GL... Igor Skornyakov
03:48 AM Database Feature #6453: temp-table features
Eric Faulhaber wrote:
> Agreed, but adding missing functionality is highest priority; if fixing any of these items l...
Igor Skornyakov
03:30 AM Database Feature #6453: temp-table features
Agreed, but adding missing functionality is highest priority; if fixing any of these items looks to be particularly t... Eric Faulhaber
12:59 PM Conversion Tools Feature #6237: OEUnit support
I have no objection to the bootstrap cfg approach. Greg Shah
12:09 PM Conversion Tools Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> I think, we can use the @BootstrapConfig@ to pass the test engine discover request data...
Vladimir Tsichevski
10:20 AM Conversion Tools Feature #6237: OEUnit support
I think, we can use the @BootstrapConfig@ to pass the test engine discover request data from test runner (e.g. Eclips... Vladimir Tsichevski
09:13 AM Conversion Tools Feature #6237: OEUnit support
One more change required for the JUnin5 framework would able to discover the custom test engine.
See @6237-addon.d...
Vladimir Tsichevski
07:40 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Marian Edu wrote:
> Marian Edu wrote:
>
> > Attached the new patch.
Marian Edu
02:50 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Marian Edu wrote:
> Attached the new patch.
Looks like attachments are not accepted, it gives an 'internal server...
Marian Edu
02:48 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
I did a bit of additional clean-up, resolve function key code in @lookupWorker@ and don't waste time looking up throu... Marian Edu
03:33 AM Database Feature #6371: implement SAVE CACHE statement
I have committed revision 14112, which fixes the NPE and refactors the code for this feature out of @DatabaseManager@... Eric Faulhaber

10/02/2022

04:36 PM Database Feature #6453: temp-table features
> As I've mentioned in #6453-10 the issues mentioned above formally do not related to the scope of this task. Should ... Greg Shah
12:21 PM Database Feature #6453: temp-table features
I've re-worked the test program to use all possible data types and all possible TEMP-TABLE Field options, and noticed... Igor Skornyakov
12:18 PM Base Language Feature #6650: improve performance of Scopeable notification in TM.processScopeNotifications
Constantin Asofiei wrote:
> And the update.
The latest update, previously had redmine errors.
Constantin Asofiei
11:23 AM Base Language Feature #6650: improve performance of Scopeable notification in TM.processScopeNotifications
And the update. Constantin Asofiei
11:22 AM Base Language Feature #6650: improve performance of Scopeable notification in TM.processScopeNotifications
There was a problem in an app related to dataset-handle parameters - BufferManager support is required for blocks def... Constantin Asofiei
12:17 PM Base Language Feature #1970: improve ControlFlowOps method resolution by reflection
Greg Shah wrote:
> @ca_upd_20220930a_3821c_14261.zip@ is the latest?
No, see attached.
Constantin Asofiei
12:11 PM Base Language Feature #1970: improve ControlFlowOps method resolution by reflection
@ca_upd_20220930a_3821c_14261.zip@ is the latest? Greg Shah
11:19 AM Base Language Feature #1970: improve ControlFlowOps method resolution by reflection
Latest update is attached - for external programs, a separate call-site cache is being kept, as these are dependent o... Constantin Asofiei

09/30/2022

04:23 PM Database Feature #6371: implement SAVE CACHE statement
Eric Faulhaber wrote:
> One question: is @attribute@ always synonymous with a column?
I introduced constants to...
Boris Schegolev
10:57 AM Database Feature #6371: implement SAVE CACHE statement
Thanks for the fixes in 14110. The last known state for my very simple database looks like this persisted:... Eric Faulhaber
06:45 AM Database Feature #6371: implement SAVE CACHE statement
I reverted all Class Loader modifications. We'll have to get back to that later.
Also, I reimplemented and tested ...
Boris Schegolev
02:16 AM Database Feature #6371: implement SAVE CACHE statement
Boris Schegolev wrote:
> I pushed several fixes for the comments above:
>
> * SchemaComparator file access synchr...
Eric Faulhaber
02:05 PM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> As list of pending changes as noted by Vladimir via email:
>
> [...]
>
> For changes 1 thro...
Vladimir Tsichevski
01:40 PM Database Feature #6453: temp-table features
I've noticed a number of discrepancies between 4GL and FWD for @READ-XMLSCHEMA@/@WRITE-XMLSCHEMA@/@READ-XML@/@WRITE-X... Igor Skornyakov
01:18 PM Base Language Feature #1970 (WIP): improve ControlFlowOps method resolution by reflection
Greg, please review these changes. The runtime for the caching is this:
* use the caching mechanism for event proc...
Constantin Asofiei
07:51 AM Database Support #6679: H2 general performance tuning
I am currently working on integrating a 4GL code test into Hotel GUI project. The test consists of simple operations ... Dănuț Filimon
05:29 AM Base Language Feature #6650: improve performance of Scopeable notification in TM.processScopeNotifications
Greg Shah wrote:
> Code Review ca_upd_20220927a_3821c_14253.zip
>
> I have no objections. Has this been tested w...
Greg Shah
04:42 AM Database Feature #6582: implement multi-table AdaptiveQuery
Greg Shah wrote:
> Are all of the tests written for this in 4GL code? Can the testing be easily replicated by other...
Alexandru Lungu
04:12 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Stanislav Lomany wrote:
> > 6764.02.patch
>
> There's a browse-specific piece of code which was dropped, and this...
Marian Edu

09/29/2022

04:27 PM Database Feature #6371: implement SAVE CACHE statement
I pushed several fixes for the comments above:
* SchemaComparator file access synchronization
* ClassLoader del...
Boris Schegolev
10:51 AM Database Feature #6371: implement SAVE CACHE statement
Boris Schegolev wrote:
> BTW, what database are you connected to? MySQL, Postgres, ...?
So far, I've only tested ...
Eric Faulhaber
06:37 AM Database Feature #6371: implement SAVE CACHE statement
I pushed a fix for the NPE as revision 14108.
As for the flow, the intended use goes like this:
# @saveInitialS...
Boris Schegolev
04:28 AM Database Feature #6371: implement SAVE CACHE statement
BTW, what database are you connected to? MySQL, Postgres, ...? Boris Schegolev
04:24 AM Database Feature #6371: implement SAVE CACHE statement
Eric Faulhaber wrote:
> The problem is that we are trying to get all index info for all tables, but that API doesn...
Boris Schegolev
02:28 AM Database Feature #6371: implement SAVE CACHE statement
I've made changes to @SchemaComparator@, mostly formatting to match our coding standards, and some functional to get ... Eric Faulhaber
04:25 PM Runtime Infrastructure Feature #6673: rework appserver agent approach to use a shared queue instead of a check-in/check-...
I'd like to take a look at this case. I plan to instrument this code and measure the cost of various approaches and ... Greg Shah
03:52 PM Database Feature #6720: lazy hydration
> If we are to lazily hydrate records, any column data which was not loaded in the initial hydration pass will have t... Greg Shah
02:41 PM User Interface Feature #6764: Improve trigger selection for keyboard events.
> 6764.02.patch
There's a browse-specific piece of code which was dropped, and this part is regressed.
Testcase a...
Stanislav Lomany
09:55 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Hynek Cihlar wrote:
> With this kind of specialized behavior it probably doesn't make sense to be placed in utils,...
Marian Edu
09:02 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Marian Edu wrote:
> Hynek Cihlar wrote:
> > OK. What about the "frame/window propagation"?
>
> That is handled i...
Hynek Cihlar
08:30 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Hynek Cihlar wrote:
> OK. What about the "frame/window propagation"?
That is handled in @lookupWorker@, first wal...
Marian Edu
08:14 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Marian Edu wrote:
> Hynek Cihlar wrote:
> > Code review 6764.01.patch.
> >
> > I'm only worried about the remove...
Hynek Cihlar
08:11 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Stanislav: Please review. Greg Shah
07:07 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Hynek Cihlar wrote:
> Code review 6764.01.patch.
>
> I'm only worried about the removed browser-specific behavior...
Marian Edu
02:56 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Code review 6764.01.patch.
It is very nice that the result is a lot cleaner. I didn't find any particular issue fr...
Hynek Cihlar
02:03 PM Conversion Tools Feature #6237: OEUnit support
As list of pending changes as noted by Vladimir via email:... Greg Shah
11:46 AM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> > So we need to either disable the Jupiter engine somehow (which I failed to find out how), or us...
Vladimir Tsichevski
08:10 AM Conversion Tools Feature #6237: OEUnit support
> So we need to either disable the Jupiter engine somehow (which I failed to find out how), or use our own markup for... Greg Shah
05:09 AM Conversion Tools Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> Vladimir Tsichevski wrote:
>
> > The little problem with Eclipse is that it always u...
Vladimir Tsichevski
01:55 PM Base Language Feature #1970: improve ControlFlowOps method resolution by reflection
> For external procedures, the only thing I can cache is the target Java classname - to avoid PROPATH resolution on e... Greg Shah
01:25 PM Base Language Feature #1970: improve ControlFlowOps method resolution by reflection
For external procedures, the only thing I can cache is the target Java classname - to avoid PROPATH resolution on eac... Constantin Asofiei
08:25 AM Base Language Feature #1970: improve ControlFlowOps method resolution by reflection
> There is also the RUN SUPER or SUPER() case which is not supported in conversion yet...
Agreed. These seem impo...
Greg Shah
06:51 AM Base Language Feature #1970: improve ControlFlowOps method resolution by reflection
@ControlFlowOps@ is being used in FWD internal classes, for example invoking a callback procedure for SAX parsing or ... Constantin Asofiei
08:24 AM Database Feature #6582: implement multi-table AdaptiveQuery
> either the conversion should generate multi-table AdaptiveQuery only for persistent tables
I think we should be...
Greg Shah
08:20 AM Database Feature #6582: implement multi-table AdaptiveQuery
Are all of the tests written for this in 4GL code? Can the testing be easily replicated by others in the future? I'... Greg Shah
06:07 AM Database Feature #6582: implement multi-table AdaptiveQuery
I've done some tests with H2 2.1.214 an there is no improvement with the query plan (especially for cross joins).
...
Alexandru Lungu

09/28/2022

05:53 PM Database Feature #6371: implement SAVE CACHE statement
FYI, I am making major changes to @SchemaComparator@. Please do not modify this class until I check it in. Eric Faulhaber
02:06 AM Database Feature #6371: implement SAVE CACHE statement
I reverted rev 14106 locally because it breaks the singleton contract of @AsmClassLoader@ and thus breaks server star... Eric Faulhaber
12:23 PM Conversion Tools Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> The little problem with Eclipse is that it always uses some version of the "Jupiter" ...
Vladimir Tsichevski
12:16 PM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> Code Review uast-hints-unit-test-type.diff
>
> I don't see any purpose in having @ELEM_UNITTES...
Vladimir Tsichevski
08:56 AM Base Language Feature #1970: improve ControlFlowOps method resolution by reflection
Greg, I'm leaving caching support only for internal procedures or function calls. Others, like ASYNC, ON SERVER, AS-... Constantin Asofiei
08:20 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Constantin/Hynek: Please review. Greg Shah
08:13 AM User Interface Feature #6764 (Review): Improve trigger selection for keyboard events.
Please review the patch and let me know if you see anything wrong or something I've missed - doing a smoke test on @<... Marian Edu
08:11 AM User Interface Feature #6764 (WIP): Improve trigger selection for keyboard events.
Since #6528 is already closed I'll use this task to upload the patch that tries to clean-up/improve the event lookup ... Marian Edu
07:11 AM Database Feature #6582: implement multi-table AdaptiveQuery

|_\13. Iterate all records with NEXT |
|_\2. Test |_\2. 4GL temporary ...
Alexandru Lungu

09/27/2022

04:59 PM Base Language Feature #1970: improve ControlFlowOps method resolution by reflection
I'd also go with an invocation syntax more like this:... Greg Shah
04:45 PM Base Language Feature #1970: improve ControlFlowOps method resolution by reflection
> Unfortunately this approach of putting the static parts at the CALL_SITE makes debugging very hard
The resulting...
Greg Shah
02:57 PM Base Language Feature #1970: improve ControlFlowOps method resolution by reflection
Unfortunately this approach of putting the static parts at the CALL_SITE makes debugging very hard - either way, I di... Constantin Asofiei
04:30 PM Base Language Feature #6650: improve performance of Scopeable notification in TM.processScopeNotifications
Code Review ca_upd_20220927a_3821c_14253.zip
I have no objections. Has this been tested with one of the large GUI...
Greg Shah
03:02 PM Base Language Feature #6650: improve performance of Scopeable notification in TM.processScopeNotifications
Another update, includes some fixes after testing #6672. Constantin Asofiei
12:07 AM Base Language Feature #6650: improve performance of Scopeable notification in TM.processScopeNotifications
The persistence-related changes in @ca_upd_20220923a_3821c_14253.zip@ look good to me. Eric Faulhaber
02:14 PM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> Please look in your directory and search on @RemoteErrorData@ to see the ACL you must have to ens...
Vladimir Tsichevski
02:08 PM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> No, not yet. I'm hoping to open this up on Thursday.
>
> Before any commit happens, I will ne...
Vladimir Tsichevski
02:07 PM Conversion Tools Feature #6237: OEUnit support
No, not yet. I'm hoping to open this up on Thursday.
Before any commit happens, I will need to see the proposed d...
Greg Shah
02:02 PM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> Code Review strict-junit5.diff
>
> I have no objections except to note that history entries ar...
Vladimir Tsichevski
01:45 PM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> Code Review junit5-custom-engine.zip
>
> Overall, I don't have an objection to the code so far...
Vladimir Tsichevski
01:42 PM Conversion Tools Feature #6237: OEUnit support
Code Review uast-hints-unit-test-type.diff
I don't see any purpose in having @ELEM_UNITTESTTYPE@ and also the @UNI...
Greg Shah
01:37 PM Conversion Tools Feature #6237: OEUnit support
Code Review strict-junit5.diff
I have no objections except to note that history entries are needed.
Greg Shah
01:36 PM Conversion Tools Feature #6237: OEUnit support
Code Review junit5-custom-engine.zip
Overall, I don't have an objection to the code so far. I understand it is ea...
Greg Shah
01:12 PM Conversion Tools Feature #6237: OEUnit support
Please look in your directory and search on @RemoteErrorData@ to see the ACL you must have to ensure access to the ne... Greg Shah
12:58 PM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> Please post your code here.
Done:
@6237-remote-object-problem.diff@
Vladimir Tsichevski
12:38 PM Conversion Tools Feature #6237: OEUnit support
Please post your code here. Greg Shah
12:19 PM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> > And the implementation class @UnitTestServer@
>
> @UnitTestServer@ should not be in packag...
Vladimir Tsichevski
09:38 AM Conversion Tools Feature #6237: OEUnit support
> I mean, if we replace the execution of a method of main by execution of an arbitrary lambda function, the access to... Greg Shah
09:11 AM Conversion Tools Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> and I got the error:
>
> [...]
From experiments I learned that some existing re...
Vladimir Tsichevski
12:35 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Eric Faulhaber wrote:
> Igor, how did you ultimately deal with the error handler (@initError@, @checkError@, etc.)? ...
Igor Skornyakov
11:17 AM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Igor, how did you ultimately deal with the error handler (@initError@, @checkError@, etc.)? Do any test cases in your... Eric Faulhaber
09:45 AM Database Feature #6582: implement multi-table AdaptiveQuery
I updated the table from #6582-33 with 8 new multi-table queries which are often used in large applications:
* *rang...
Alexandru Lungu

09/26/2022

06:14 PM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> > If we just replace the call @main.standardEntry()@ by some lambda passed to the method as a par...
Vladimir Tsichevski
01:25 PM Conversion Tools Feature #6237: OEUnit support
> If we just replace the call @main.standardEntry()@ by some lambda passed to the method as a parameter, we at least ... Greg Shah
10:57 AM Conversion Tools Feature #6237: OEUnit support
Question: currently a remote instance of @MainEntry@ is not only obtained inside the @ClientCore.start()@, but some m... Vladimir Tsichevski
08:09 AM Conversion Tools Feature #6237: OEUnit support
Not exactly. The conversation thread starts when the session is created with the server. Everything else (steps 1, ... Greg Shah
07:45 AM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> Vladimir Tsichevski wrote:
> > Greg Shah wrote:
> >
> > > > Why do we need another thread?
>...
Vladimir Tsichevski
07:16 AM Conversion Tools Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> Greg Shah wrote:
>
> > > Why do we need another thread?
> >
> > It seems incorrec...
Greg Shah
07:10 AM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
>
> I've been assuming that the JUnit stuff is implicitly batch mode, but perhaps it is possibl...
Marian Edu
06:49 AM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> > Why do we need another thread?
>
> It seems incorrect to "take over" the calling thread to...
Vladimir Tsichevski
05:47 AM Conversion Tools Feature #6237: OEUnit support
> Does that mean we will not use the StandardServer at all?
Maybe. At least @StandardServer.standardEntry()@ is n...
Greg Shah
03:03 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Testing MariaDB UDFs with UNKNOWN arguments/values, finished.
Committed to 6129a/14414 (except @where_clause_pre_p...
Igor Skornyakov
08:05 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Nice catch!
The fix from #6628-153 should be enough. When HQL/FQL are parsed, the LPARENS of the functions are drop...
Ovidiu Maxiniuc
02:10 PM Base Language Feature #1970: improve ControlFlowOps method resolution by reflection
It looks good! Greg Shah
01:34 PM Base Language Feature #1970: improve ControlFlowOps method resolution by reflection
The conversion is in testing and for this test:... Constantin Asofiei

09/24/2022

05:30 AM Database Feature #6582: implement multi-table AdaptiveQuery

|_\13. Iterate all records with NEXT |
|_\2. Test |_\2. 4GL temporary ...
Alexandru Lungu

09/23/2022

03:17 PM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> I think the way to go is to create a FWD client in-process from the JUnit @TestEngine@ code:
>...
Vladimir Tsichevski
08:55 AM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> There is no patch posted for the hints changes.
Strangely enough :-(
Vladimir Tsichevski
08:28 AM Conversion Tools Feature #6237: OEUnit support
There is no patch posted for the hints changes. Greg Shah
05:57 AM Conversion Tools Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> Greg Shah wrote:
>
> > For now, just implement the multilevel configuration approach...
Vladimir Tsichevski
02:24 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
That if end of the switch is... Igor Skornyakov
02:07 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Eric Faulhaber wrote:
> You need the data type of an argument to a UDF, where the argument itself is a UDF, correct?...
Igor Skornyakov
01:47 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
You need the data type of an argument to a UDF, where the argument itself is a UDF, correct?
Two questions:
* L...
Eric Faulhaber
01:24 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Eric Faulhaber wrote:
> Wouldn't
>
> [...]
>
> be more reliable?
@case FUNCTION@ already exists.
Igor Skornyakov
01:03 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Wouldn't... Eric Faulhaber
12:58 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Igor Skornyakov wrote:
> I've temporary restored rev. 13138 changes to @where_clause_pre_prep.rules@ to run compatib...
Igor Skornyakov
11:11 AM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
I've temporary restored rev. 13138 changes to @where_clause_pre_prep.rules@ to run compatibility tests with nullable ... Igor Skornyakov
01:34 PM Database Feature #6371: implement SAVE CACHE statement
I implemented class unloading through delegates as was suggested in TODO in @AsmClassLoader@.
The code is in 6371a...
Boris Schegolev
10:12 AM Base Language Feature #6650: improve performance of Scopeable notification in TM.processScopeNotifications
The latest update is attached. All projects look OK.
To fix the @p2j.oo@ code, I've analyzed it using a crude spo...
Constantin Asofiei
09:48 AM Database Support #6713: check if it is faster to use separate temp-table instances instead of multiplex id
I made a set of tests for multiplex and no-multiplex using indexes.
The tests have the following specifications:
...
Dănuț Filimon

09/22/2022

03:31 PM Database Feature #6371: implement SAVE CACHE statement
Eric Faulhaber wrote:
> the @ClassLoader@ itself had to be garbage collected
That is correct. We can re-instantia...
Boris Schegolev
03:26 PM Database Feature #6371: implement SAVE CACHE statement
Boris Schegolev wrote:
> Class unloading is done (unless I missed something). Unloading the class from JVM itself is...
Eric Faulhaber
03:16 PM Database Feature #6371: implement SAVE CACHE statement
Class unloading is done (unless I missed something). Unloading the class from JVM itself is only done by the Garbage ... Boris Schegolev
11:05 AM Database Bug #6767: Possible name clashes in DMO classes
Here is the list of matching by name methods:... Vladimir Tsichevski
10:16 AM Database Bug #6767: Possible name clashes in DMO classes
Eric Faulhaber wrote:
> To clarify the task, we need to work through all superinterfaces of the @persist.Buffer@ int...
Vladimir Tsichevski
10:11 AM Database Feature #6582: implement multi-table AdaptiveQuery
I've done the same tests for persistent tables and updated #6582-30.
For persistent tables, multi-table @AdaptiveQue...
Alexandru Lungu

09/21/2022

02:01 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Fixed trimming UDFs string arguments for MariaDB.
Committed to 6191a/14412.
All compatibility tests except ones h...
Igor Skornyakov
10:50 AM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Greg Shah wrote:
> Isn't this just a consequence of the (currently) broken compatibility of using varchar as a datat...
Igor Skornyakov
10:41 AM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Isn't this just a consequence of the (currently) broken compatibility of using varchar as a datatype for MariaDB? Greg Shah
10:39 AM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
I've experienced the #4551-310 again (the compatibility test for @lengthof@ fails because of the argument trimming).... Igor Skornyakov
12:25 PM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> For now, just implement the multilevel configuration approach. If it gets to the point where w...
Vladimir Tsichevski
12:24 PM Conversion Tools Feature #6237: OEUnit support
I've created a custom JUnit5 testing engine (see @junit5-custom-engine.zip@).
This is the first version, kind of P...
Vladimir Tsichevski
12:11 PM Conversion Tools Feature #6237: OEUnit support
> If we can define this configuration parameter at any level, using also file and directory hints, then we do not nee... Greg Shah
11:55 AM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> I think we need to know on a per-file level which unit testing framework is used. This is not ha...
Vladimir Tsichevski
11:28 AM Conversion Tools Feature #6237: OEUnit support
I think we need to know on a per-file level which unit testing framework is used. This is not hard to do. As noted ... Greg Shah
11:15 AM Conversion Tools Feature #6237: OEUnit support
Marian Edu wrote:
> Vladimir Tsichevski wrote:
> > So, you propose to pre-scan *all* classes in conversion project ...
Vladimir Tsichevski
08:59 AM Conversion Tools Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> So, you propose to pre-scan *all* classes in conversion project to find any @assertXXX@...
Marian Edu
08:44 AM Conversion Tools Feature #6237: OEUnit support
> you propose to pre-scan all classes in conversion project to find any assertXXX statement
This is pretty easy. ...
Greg Shah
08:19 AM Conversion Tools Feature #6237: OEUnit support
Marian Edu wrote:
> Vladimir Tsichevski wrote:
>
> > So, since neither of these methods is reliable
>
> I real...
Vladimir Tsichevski
08:09 AM Conversion Tools Feature #6237: OEUnit support
> adding implementation for OEUnit Assert in FWD would be the easier path.
We will provide the OEUnit Assert supp...
Greg Shah
07:21 AM Conversion Tools Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> So, since neither of these methods is reliable
I really fail to see the issue here...
Marian Edu
12:11 PM Database Feature #6457: finish COPY-LOB support
Stanislav Lomany wrote:
> Do you have any idea what and how 4GL produces?
Try launching the 4GL using @-cpinternal ...
Ovidiu Maxiniuc
01:45 AM Database Feature #6457: finish COPY-LOB support
Stanislav, looking at the @14844588@ value, in hex is e282ac. See this: https://community.progress.com/s/article/P18... Constantin Asofiei
11:10 AM Database Feature #6582: implement multi-table AdaptiveQuery
I've prepared a consistent set of tests, but it seems only some are actually finished in a reasonable time.
|_\2. ...
Alexandru Lungu
04:25 AM Database Feature #6582: implement multi-table AdaptiveQuery
I am close to an end with #6582-27. Only some use cases are left to clear off. Note that I updated #6582-27 to reflec... Alexandru Lungu

09/20/2022

07:24 PM Database Feature #6457 (WIP): finish COPY-LOB support
Guys, I don't quite understand how 4GL produces output. Consider the following UTF-16 output example:... Stanislav Lomany
04:21 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Greg Shah wrote:
> It would be best to avoid such code in our testcases. If you really need something platform spec...
Igor Skornyakov
03:56 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
It would be best to avoid such code in our testcases. If you really need something platform specific, then have a ve... Greg Shah
03:30 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Ovidiu Maxiniuc wrote:
> Set the OS of the sources in @cfg/p2j.cfg.xml@:
> [...]or[...]
Thank you, Ovidiu.
It h...
Igor Skornyakov
03:25 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Set the OS of the sources in @cfg/p2j.cfg.xml@:... Ovidiu Maxiniuc
12:54 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Ovidiu Maxiniuc wrote:
> Igor Skornyakov wrote:
> > A string literal @'a1b123*\{}()1'@ is converted to @new charact...
Igor Skornyakov
12:38 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Igor Skornyakov wrote:
> A string literal @'a1b123*\{}()1'@ is converted to @new character("a1b123*{}()1")@. What I'...
Ovidiu Maxiniuc
05:44 AM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
The compatibility test for @matches@ fails for a strange reason.
A string literal @'a1b123*\{}()1'@ is converted to ...
Igor Skornyakov
03:50 PM Database Feature #6371: implement SAVE CACHE statement
I got rid of TODOs in the code and followed some of suggestions above (naming). The new code now only has a TODO for ... Boris Schegolev
11:30 AM Base Language Feature #6772: increase usage of ASSIGN bracketing
Please see #6740 - we had an attempt to lock/unlock the frame for the duration of the widget ASSIGN, but this posed p... Constantin Asofiei
09:33 AM Base Language Feature #6772: increase usage of ASSIGN bracketing
In #6726, we found that a @CREATE <widget> ASSIGN ...@ was being handled with decreased performance because we are no... Greg Shah
09:30 AM Base Language Feature #6772 (New): increase usage of ASSIGN bracketing
Greg Shah
11:29 AM Database Feature #6582: implement multi-table AdaptiveQuery
What can you see in terms of the impact of this refactoring on performance so far, if anything? Eric Faulhaber
07:35 AM Conversion Tools Feature #6237: OEUnit support
> emit a warning and ignore the unit test annotations.
This one.
Greg Shah
05:54 AM Conversion Tools Feature #6237: OEUnit support
Marian Edu wrote:
> Vladimir Tsichevski wrote:
>
> > I think, our goal is to have neither original @OEUnit@ nor @...
Vladimir Tsichevski
02:56 AM Conversion Tools Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> I think, our goal is to have neither original @OEUnit@ nor @ABLUnit@ in the @PROPATH@...
Marian Edu

09/19/2022

06:43 PM Database Bug #6767: Possible name clashes in DMO classes
To clarify the task, we need to work through all superinterfaces of the @persist.Buffer@ interface, along with all th... Eric Faulhaber
09:03 AM Database Bug #6767: Possible name clashes in DMO classes
In DMO classes, getter and setter names are created automatically by conversion, based on the field names which are a... Vladimir Tsichevski
08:12 AM Database Bug #6767 (Review): Possible name clashes in DMO classes
Vladimir Tsichevski
03:15 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Fixed injection of session attributes' values into UDF calls for MariaDB.
Committed to 6129a/14407.
Igor Skornyakov
03:09 PM Database Bug #6703: loading schema table DMO interface with no defined fields
Ovidiu Maxiniuc wrote:
> Constantin, I reviewed it and your fix in 6129a/14273 seems logical.
>
> I also added tw...
Eric Faulhaber
02:52 PM Conversion Tools Bug #6768 (Rejected): End of comment "butted" against double-quote fails to parse
It is already fixed in the latest version of FWD. Greg Shah
01:44 PM Conversion Tools Bug #6768: End of comment "butted" against double-quote fails to parse
I updated @uast/comment_test0.p@ to include some additional tests:... Roger Borrello
12:27 PM Conversion Tools Bug #6768: End of comment "butted" against double-quote fails to parse
If this isn't an issue in FWD v4, then we can close this. Greg Shah
11:17 AM Conversion Tools Bug #6768: End of comment "butted" against double-quote fails to parse
It was reported that this yields a conversion error (with an older version of FWD):... Roger Borrello
10:28 AM Conversion Tools Bug #6768 (Rejected): End of comment "butted" against double-quote fails to parse
Roger Borrello
02:22 PM Conversion Tools Feature #6237: OEUnit support
Marian Edu wrote:
> Greg Shah wrote:
> > Define a global parameter (in @cfg/p2j.cfg.xml@) for @OEUnit@ vs @ABLUnit@...
Vladimir Tsichevski
01:36 PM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> Define a global parameter (in @cfg/p2j.cfg.xml@) for @OEUnit@ vs @ABLUnit@. Then add an override...
Marian Edu
11:35 AM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> The code is going to be very specific to converted 4GL code so it should be @com.goldencode.p2j.t...
Vladimir Tsichevski
09:26 AM Conversion Tools Feature #6237: OEUnit support
The code is going to be very specific to converted 4GL code so it should be @com.goldencode.p2j.testengine@. Greg Shah
09:20 AM Conversion Tools Feature #6237: OEUnit support
I am implementing a specialized JUnit5 test engine for FWD. The code works, and now I need some permanent Java packag... Vladimir Tsichevski

09/18/2022

05:32 AM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
More about collation.
At this moment @import.db@ creates MariaDB database with @DEFAULT CHARACTER SET utf8mb4 DEFAUL...
Igor Skornyakov
 

Also available in: Atom