Commit Graph

3 Commits

Author SHA1 Message Date
Carlos Ruiz 1702a5f1e0
Revert "IDEMPIERE-5126 Virtual column lazy loading - move scripts to iD10 (#1123)" (#1134)
Move back scripts to i9
This reverts commit 1c8948d462.
2022-01-16 10:52:45 +01:00
Carlos Ruiz 1c8948d462
IDEMPIERE-5126 Virtual column lazy loading - move scripts to iD10 (#1123) 2022-01-07 15:34:27 +01:00
Saulo José Gil 0eb89932fd
IDEMPIERE-5126 Virtual column lazy loading (#1095)
* IDEMPIERE-5126 Virtual column lazy loading

Virtual columns are now loaded only whenever their respective getters are invoked. This functionality works irrespective of the PO constructor used.

Query class now uses lazy loading by default as well.

* IDEMPIERE-5126 Virtual column lazy loading

Have the model generator ignore virtual columns with the @SQL prefix, as
their generated getters would always return null.

* IDEMPIERE-5126 Virtual column lazy loading

Added quoting to virtual column names

* IDEMPIERE-5126 Virtual column lazy loading

Reload virtual columns if the record was reloaded.

* IDEMPIERE-5126 Virtual column lazy loading

Fixed class cast exception in unit test.

* IDEMPIERE-5126 Virtual column lazy loading

Support for loading selected virtual columns along with regular table
columns, skipping lazy loading.

* IDEMPIERE-5126 Virtual column lazy loading

Fine-grained virtual column loading support for Query.

* IDEMPIERE-5126 Virtual column lazy loading

Support for loading selected virtual columns along with regular table
columns, skipping lazy loading.

* IDEMPIERE-5126 Virtual column lazy loading

Improved support for the constructor PO.PO(Properties, int, String,
String...).

* IDEMPIERE-5126 Virtual column lazy loading

Refactoring. Reduced size of messages sent and received from database
engine when lazy loading virtual columns. Other minor changes.

* IDEMPIERE-5126 Virtual column lazy loading

Added testing assertions.

* IDEMPIERE-5126 Virtual column lazy loading

Silenced Eclipse warnings.
2022-01-05 21:14:50 +08:00