Project

General

Profile

Feature #2128

Feature #1651: add support for dynamic database features

Feature #1652: add conversion and runtime support for dynamically prepared temp-tables

generate and load DMO interface and implementation classes for dynamic temp-tables at runtime

Added by Eric Faulhaber about 11 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Start date:
05/13/2013
Due date:
06/03/2013
% Done:

100%

Estimated time:
120.00 h
billable:
No
vendor_id:
GCD

History

#1 Updated by Eric Faulhaber about 11 years ago

Based on information provided by runtime methods to define and prepare a dynamically generated temp-table, we need to generate a DMO interface and a DMO implementation class, and to load these with a custom class loader at runtime. The proposed approach:
  • use the information provided by converted 4GL methods for defining a temp-table to generate a .dict-compatible AST (also need to persist this for use with dynamically defined queries as noted in #1652);
  • execute TRPL in the P2J runtime to run schema conversion against this AST, ultimately creating Java source code for the interface and class;
  • adapt the in-memory Java compilation and class-loading technique used in the regression test harness to load the interface and class into the JVM.

The custom classloader also will need to be able to unload the interface and class when no longer in use. We should implement this ability in the classloader, but implementing the associated logic to determine when this code is appropriate to unload can be deferred to M11.

#2 Updated by Eric Faulhaber about 11 years ago

  • Due date set to 06/03/2013
  • Assignee set to Ovidiu Maxiniuc
  • Start date set to 05/13/2013

This issue is closely related to its sibling issue, #2122. I have split these into two, because the parent feature is important to get done as early as possible, and I think they can be worked in parallel.

Stanislav and Ovidiu: please use the parent issue history to coordinate closely, to ensure a minimum overlap of effort, but post your time to the individual issues.

#3 Updated by Eric Faulhaber almost 11 years ago

  • Assignee changed from Ovidiu Maxiniuc to Stanislav Lomany

#4 Updated by Eric Faulhaber over 10 years ago

  • Status changed from New to Review
  • % Done changed from 0 to 70

#5 Updated by Eric Faulhaber over 10 years ago

  • % Done changed from 70 to 100
  • Status changed from Review to Closed

#6 Updated by Greg Shah over 7 years ago

  • Target version changed from Milestone 7 to Runtime Support for Server Features

Also available in: Atom PDF