Activity
From 10/31/2013 to 11/29/2013
11/29/2013
- 03:20 PM Feature #1654: add conversion and runtime support for dynamic buffer creation and cleanup
- > * In @DMOValidator.uniqueConstraintViolation@, you made a change to use the legacy table name. Have you confirmed t...
- 12:51 PM Feature #1654: add conversion and runtime support for dynamic buffer creation and cleanup
- Please also note that a large update for #2116 was just committed, and may require merges.
- 12:33 PM Feature #1654: add conversion and runtime support for dynamic buffer creation and cleanup
- Code review 20131129a:
Looks good overall, but I have some questions/comments:
* In @DMOValidator.uniqueConstra... - 02:45 PM Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
- Note 27 implemented in #2126, note 49
- 02:37 PM Feature #2126: add support for table-level locking (share and exclusive) for runtime internal use
- Update vmn_upd20131129a.zip/vmn_upd20131129b.zip attached.
Additionally to previous update vmn_upd20131126a.zip:
... - 12:47 PM Feature #2116: add runtime support for _user metadata table
- Please post generic instructions here (or point to them, if they already exist -- I did not find them) on how to prod...
- 12:40 PM Feature #2116: add runtime support for _user metadata table
- Both pdates were committed to bzr rev 10417 and resp. git.
They were also distributed to team by mail. - 12:34 PM Feature #2125 (Test): add runtime support for dynamic buffer creation and cleanup
- 08:25 AM Feature #2024: implement runtime support for database triggers
- Update for review.
I know it's not up-to date (to rev 10416), I will merge the changes probably on Monday.
Known is...
11/28/2013
- 01:18 PM Feature #2024: implement runtime support for database triggers
- Thanks, I see now.
I was blinded by the @WRITE@ trigger that also allows @new@/@old@ values. If no field is specifie... - 12:57 PM Feature #2024: implement runtime support for database triggers
- From the v11.0 documention for the TRIGGER PROCEDURE statement:...
- 12:28 PM Feature #2024: implement runtime support for database triggers
- > In regard to your other changes, I should note that the 4GL docs state that NEW is a possible keyword used in the a...
- 11:25 AM Feature #2024: implement runtime support for database triggers
- This is the intermediate version of my progress.g changes which I plan to include with my work on #1634.
- 11:23 AM Feature #2024: implement runtime support for database triggers
- Sadly, I independently found the same "implicit like" problem with the assign_trigger_var_def/regular_parm processing...
- 12:09 PM Feature #2116: add runtime support for _user metadata table
- Code Review 1125d and 1121b
CustomSecurityOps has had the @public@ access modifier removed from all the methods. ... - 07:10 PM Feature #2116: add runtime support for _user metadata table
- Code review 20131125d (database-related):
The database portions of this most recent drop look fine for check-in. T... - 09:45 AM Feature #2126: add support for table-level locking (share and exclusive) for runtime internal use
- But I found out on testing one strange fact. Data Dictionary allows to create permanent table with no fields, default...
- 08:43 AM Feature #2126: add support for table-level locking (share and exclusive) for runtime internal use
- Eric Faulhaber wrote:
> * Also regarding @IndexHelper.getPrimaryIndex@, I'm pretty sure this is the case, but have y... - 08:00 AM Feature #2126: add support for table-level locking (share and exclusive) for runtime internal use
- Eric Faulhaber wrote:
> * In @IndexHelper.getPrimaryIndex@, the @primaryIndexByEntity@ map will never contain any en... - 04:43 AM Feature #1654: add conversion and runtime support for dynamic buffer creation and cleanup
- With any solution @each tt1 where tt.f-1 = 0 or tt.f-2 = 0@ will be converted to @select tt__1.id from DynamicRecord1...
11/27/2013
- 06:10 PM Feature #2126: add support for table-level locking (share and exclusive) for runtime internal use
- Code review 20131126a:
* The new @legacy_primary_index_annotation@ in @java_templates.tpl@ is largely redundant with... - 03:53 PM Feature #2024: implement runtime support for database triggers
- I think that parts of the @progress.g@ should be re-written to allow the correct syntax to be parsed. It here are the...
- 03:21 PM Feature #2116: add runtime support for _user metadata table
- I finally obtained a satisfiable result with the update for this issue.
The final run wasn't flawless, but I couldn'... - 11:26 AM Feature #2116 (Test): add runtime support for _user metadata table
- 09:27 AM Feature #1654: add conversion and runtime support for dynamic buffer creation and cleanup
- So, when you use a dynamic table @tt@ (with fields @f-1@ and @f-2@) in a dynamic query, and in 4GL you have this pred...
- 07:04 AM Feature #1654: add conversion and runtime support for dynamic buffer creation and cleanup
- The problem: dynamic queries do not recognize fields of dynamic tables specified in 4GL where clause.
Cause:
1. Na...
11/26/2013
- 03:36 PM Feature #1588: add conversion and runtime support for embedded SQL
- Actually I tested deleteAll() with @DELETE FOR@ for permanent tables. Rest issue, – fix in P2JIndex.getOrderByClause...
- 03:35 PM Feature #2126: add support for table-level locking (share and exclusive) for runtime internal use
- Update vmn_upd20131126a.zip is attached.
Fixed P2JIndex.getOrderByClause(), used dmoAlias instead of table name.
...
11/25/2013
- 02:01 PM Feature #1588: add conversion and runtime support for embedded SQL
- Please use the new primary index annotation you have added for #2126 to ensure that the no-WHERE-clause variant of @d...
- 01:53 PM Feature #2126: add support for table-level locking (share and exclusive) for runtime internal use
- Update vmn_upd20131125a.zip is attached.
1) Using java annotations for retrieving primary index and deleteAll().
...
11/23/2013
- 12:18 AM Feature #2117: add runtime support for _lock metadata table
- The attached update adds basic conversion and runtime metadata support for the _lock table. It has passed regression ...
11/22/2013
- 03:08 PM Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
- Vadim Nebogatov wrote:
> [...] But I agree that separate <extent-name> elements look better. Should I correct?
Yes... - 02:41 PM Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
- Eric Faulhaber wrote:
> * Why did you choose a CSV format for the @<extent-names>@ hint element, instead of using se... - 07:01 AM Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
- Go ahead and commit and distribute the update, even though the above issues need to be addressed. It won't affect con...
11/21/2013
- 06:24 PM Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
- Second regresion 20131121_123331 executed with 6 FAILED tests:
1. tc_job_002 FAILED failure in step 40: 'Unexpecte... - 05:59 PM Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
- Code review 20131117*:
This is a good start, but it only handles the schema conversion, DMO creation, and ORM conf...
11/20/2013
- 06:29 PM Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
- Regresion 20131119_150620 executed with 3 FAILED tests:
1. tc_job_002 FAILED failure in step 40: 'Unexpected EOF i... - 01:57 PM Feature #1654: add conversion and runtime support for dynamic buffer creation and cleanup
- >Is there any significant technical debt you are adding by going with the simple map approach now, which will complic...
- 01:32 PM Feature #1654: add conversion and runtime support for dynamic buffer creation and cleanup
- Do what you need to do to get this issue finished for M7 (so...simple map for now). Please open a separate issue for ...
- 01:27 PM Feature #1654: add conversion and runtime support for dynamic buffer creation and cleanup
- Guys, in order to make Java compiler work for dynamic queries + dynamic tables, I've done the following:
1. @InMemor... - 11:04 AM Feature #2126: add support for table-level locking (share and exclusive) for runtime internal use
- Constantin Asofiei wrote:
> More, I think for temp-tables the primary (and other info like this) is emitted to the @... - 10:50 AM Feature #2126: add support for table-level locking (share and exclusive) for runtime internal use
- I am OK with Constantin's approach, especially if we are going to get rid of the @@LegacyIndexes@ parent with Java 8.
- 10:40 AM Feature #2126: add support for table-level locking (share and exclusive) for runtime internal use
- Vadim Nebogatov wrote:
> ...in order to find primary index without search in array for example.
Yes, but you can al... - 10:35 AM Feature #2126: add support for table-level locking (share and exclusive) for runtime internal use
- ...in order to find primary index without search in array for example.
- 10:33 AM Feature #2126: add support for table-level locking (share and exclusive) for runtime internal use
- Actually I also started with adding boolean @primary@ to LegacyIndex, but noticed that Eric suggested to add index na...
- 10:23 AM Feature #2126: add support for table-level locking (share and exclusive) for runtime internal use
- Vadim/Eric: The @LegacyIndexes@ annotation is used only because Java 7 does not allow multiple annotations with the s...
- 10:11 AM Feature #2126: add support for table-level locking (share and exclusive) for runtime internal use
- I am trying to add optional annotation “primary” and generate DMO impl annotation like ...
- 11:03 AM Feature #2203: replace or minimize use of dmo_index.xml file
- The @dmo_index.xml@ file (and @DMOIndex@ class) originally was established as a list of DMOs needed to bootstrap Hibe...
- 10:55 AM Feature #2203 (New): replace or minimize use of dmo_index.xml file
11/19/2013
- 07:38 AM Feature #2116: add runtime support for _user metadata table
- The @_User@ table should only be involved in conversion and at runtime if it was configured to be a metadata table in...
- 07:26 AM Feature #2116: add runtime support for _user metadata table
- I have the following issue:
I have the @meta_user@ table created in the @schema_table_<dbname>_<dialect>.sql@ and th...
11/18/2013
- 01:20 PM Feature #1654: add conversion and runtime support for dynamic buffer creation and cleanup
- Doesn't include features from the todo list above.
11/17/2013
- 06:08 AM Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
- Updated files attached
11/15/2013
- 05:47 PM Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
- Issue is found and fixed concerning wrong conversion of fields with no extent in case if hint is assigned for whole t...
- 01:17 PM Bug #2199: ambiguity warnings too aggressively disabled
- I believe the following test-case is related:
This is a P4GL valid code (temp-table @book@ 'hides' the @book@ tabl... - 01:02 PM Feature #1654: add conversion and runtime support for dynamic buffer creation and cleanup
- todo list for this task:
1. fix dynamic tables + dynamic queries (WIP)
2. fix scoping for dynamic buffers for stati... - 12:19 PM Feature #2126: add support for table-level locking (share and exclusive) for runtime internal use
- Note that we will not need the @primary@ annotation element for temp-tables (at least not for bulk delete purposes), ...
- 12:16 PM Feature #2126: add support for table-level locking (share and exclusive) for runtime internal use
- We have decided not to move forward with the @MetaSchema@ interface, and instead to use Java annotations in the DMO i...
11/14/2013
- 04:07 PM Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
- Issue with
<property column="hours9" name="hours3" type="p2j_integer"/>
is resolved. - 10:20 AM Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
- Attached
1) code update vmn_upd20131114a.zip merged with latest bzr revision 10411;
2) vmn_upd20131114b.zip con... - 01:06 PM Feature #2120: add runtime support for dynamically prepared queries
- Variation of the bug above. Testcase:...
- 12:41 PM Feature #2120: add runtime support for dynamically prepared queries
- Yet another minor bug. Testcase:...
11/13/2013
- 01:30 PM Feature #2024: implement runtime support for database triggers
- Wouldn't it be easier/cleaner to invoke the trigger manager from the record buffer proxy? It's already an architected...
- 01:19 PM Feature #2024: implement runtime support for database triggers
- Here is a 100 points question.
What's the best solution for notifying ASSIGN triggers ?
In P4GL, the ASSIGN trigg...
11/12/2013
- 04:54 PM Feature #2116: add runtime support for _user metadata table
- I saw that change, but it wasn't clear to me how this fixed the problem. I understand now: the problem was not that t...
- 01:04 PM Feature #2116: add runtime support for _user metadata table
- I already have talked to Contstantin and he helped me with this issue; the last update contains the fix for it. See t...
- 12:58 PM Feature #2116: add runtime support for _user metadata table
- Ovidiu Maxiniuc wrote:
> ...the big problem is registering dirty databases and doing the cleanup of @DatabaseManager... - 12:38 PM Feature #2116: add runtime support for _user metadata table
- Sorry for the delay in review, lost track of this one. Please merge up to latest code level, make my minor changes be...
- 02:02 PM Feature #2024: implement runtime support for database triggers
- Today I had some questions about the WRITE trigger and its implementation so I had the following summarized mail disc...
11/11/2013
- 06:04 PM Bug #1914: database conversion requires Internet connectivity
- Actually, it is not even necessary to omit the PUBLIC ID. Only the code changes to use the entity resolver are needed.
- 08:47 AM Bug #1914: database conversion requires Internet connectivity
- I have a fix for this that does not require copying the DTD anywhere. The DTD already is in the Hibernate jar file, w...
- 05:32 AM Bug #1914: database conversion requires Internet connectivity
- Added the @hibernate-mapping-3.0.dtd@ file (in case hibernate.org site is inaccessible).
- 04:51 PM Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
- Yes, @initial@ subnode was missing, thanks.
- 02:54 PM Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
- Look at the @.p2o@ file that is generated and compare the artificial property nodes you have created with your expans...
- 01:42 PM Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
- I have created loop in p2o.xml in rule with the comment
<!-- map fields to properties -->
after rule with the ... - 02:30 AM Feature #2120: add runtime support for dynamically prepared queries
- I've found a minor bug: @get-next@ returns @yes@ even if there are no more results. Testcase:...
11/10/2013
- 08:42 AM Feature #1654: add conversion and runtime support for dynamic buffer creation and cleanup
- > As the solution I will have to modify conversion for dynamic queries. Modifying AST after conversion or in some mid...
11/09/2013
- 06:45 PM Feature #1654: add conversion and runtime support for dynamic buffer creation and cleanup
- FYI, the original version of dynamic queries do not work with dynamic buffers because of the following: consider the ...
- 05:43 AM Bug #1914: database conversion requires Internet connectivity
- Today hibernate site has gone to maintenance, so I did like Constantin suggested. Luckily I found hibernate-mapping-3...
11/08/2013
- 05:44 AM Bug #1914: database conversion requires Internet connectivity
- The root cause is the same: the Hibernate's DTD is needed to parse the @.hbm.xml@ files, but is not reachable. An ini...
- 05:24 AM Bug #1914: database conversion requires Internet connectivity
- Unlike the previous MAJIC conversion error this one occurs at runtime at test server startup when it is offline. The ...
11/07/2013
- 05:21 PM Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
- Greg Shah wrote:
> I assume that we also would support a scenario where someone has set a hint to denormalize an ext... - 04:38 PM Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
- Two thoughts:
> ...and in the event a hint specifies that the schedule table's daily-hours extent 5 field should b... - 04:19 PM Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
- I think the common case we will encounter will be statically indexed references to extent fields, which we can resolv...
- 02:15 PM Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
- I think that in any case we need some way to enumerate elementary properties specified in hint in runtime to provide ...
- 01:20 PM Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
- Help me understand why we would need a custom Hibernate type for every extent field in an application. We already hav...
- 08:55 AM Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
- This interface is already used in DatetimeTzUserType.
- 08:48 AM Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
- I think we should generate class implementing CompositeUserType for each such property both for incremented names and...
- 10:12 AM Feature #2024: implement runtime support for database triggers
- Observations on schema triggers::
* checking the CRC box will force compile the trigger which mean the file must exi... - 08:59 AM Feature #2024: implement runtime support for database triggers
- > Indeed, for each table in the schema administration of data dictionary there are two flags: one is the overridable ...
- 02:01 AM Feature #2024: implement runtime support for database triggers
- >Where does the overridable flag come?
>
>If it comes from the schema, let's read that flag at conversion time and ... - 09:42 AM Feature #1654: add conversion and runtime support for dynamic buffer creation and cleanup
- Stanislav (from email):
> Heh, BUFFER:NAME is an attribute of a static or dynamic buffer. I don't mind to implement i... - 09:09 AM Feature #2141: generate SQL Server schema
- The update looks good.
Eric: the other change is in the schema/import_util.rules file (the @sqlserver2008@ dialec... - 05:59 AM Feature #2141: generate SQL Server schema
- I have attached corresponding update vmn_upd20131107a.zip with two changed files.
- 08:59 PM Feature #2141: generate SQL Server schema
- No, the point of the previous entry was to indicate that @P2JH2Dialect.hasFullSequenceSupport@ should NOT be used to ...
11/06/2013
- 04:42 PM Feature #2141: generate SQL Server schema
- Is it ok if I change comment for P2JH2Dielect.hasFullSequenceSupport()...
- 04:12 PM Feature #2141: generate SQL Server schema
- There is no plan currently to implement an @IdentityManager@ which does not rely on sequences. So far, SQL Server 200...
- 03:29 PM Feature #2141: generate SQL Server schema
- Vadim Nebogatov wrote:
> Should I run regression one more time nevertheless?
No, is not needed.
> I checked DDL... - 12:39 PM Feature #2141: generate SQL Server schema
- Constantin Asofiei wrote:
> I expect these to be false negatives, as there is nothing in MAJIC which uses legacy sequ... - 11:16 AM Feature #2141: generate SQL Server schema
- Vadim Nebogatov wrote:
> Update vmn_upd20131104a.zip is attached containing P2JH2Dialect fix (method hasFullSequence... - 07:25 AM Feature #2141: generate SQL Server schema
- Update vmn_upd20131104a.zip is attached containing P2JH2Dialect fix (method hasFullSequenceSupport() returns true).
... - 02:16 PM Feature #2024: implement runtime support for database triggers
- > the only issue here is that the trigger source file taken from P4GL do not contain the Overrideable attribute so t...
- 01:38 PM Feature #2024: implement runtime support for database triggers
- > Consider that our current UI triggers work in this same way, and even have support for revert and so forth. Since t...
- 10:01 AM Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
- Vadim, what are you thinking in terms of how to deal with business logic that references former extent fields which h...
- 08:09 AM Feature #1654: add conversion and runtime support for dynamic buffer creation and cleanup
- Constantin,
> Can you post (at the task) the rules you've found relating to how scoping works for dynamic buffers
...
11/05/2013
- 12:50 PM Feature #2024: implement runtime support for database triggers
- > Because of these, I chosen to implement in TriggerManager a stack of 'Layers' that are automatically pushed/popped ...
- 12:15 PM Feature #2024: implement runtime support for database triggers
- Here are a few things about triggers that are not implemented or need to be adjusted:
* there are two kinds of trigg...
11/01/2013
- 06:03 PM Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
- Parsing result is field in TableHints
...
10/31/2013
- 12:59 PM Bug #2199: ambiguity warnings too aggressively disabled
- Because the ambiguity warning level is to low, P2J will force conversion of some pieces of code that that are not P4G...
- 12:29 PM Bug #2199 (New): ambiguity warnings too aggressively disabled
- 12:25 PM Feature #2116: add runtime support for _user metadata table
- This update is merged with latest sources from bzr (up to revision 10409) and also addresses the issue presented in n...
- 05:49 AM Feature #2134: configurable denormalization of extent fields into individual fields in schema con...
- Issue status.
Found out and tested all places affecting custom extent conversion. Studied and tested hints generati... - 05:03 AM Feature #1654: add conversion and runtime support for dynamic buffer creation and cleanup
- I don't really like this, because a TEMP-TABLE resource in 4GL exists for both static and dynamic temp-tables. Althou...
- 04:49 AM Feature #1654: add conversion and runtime support for dynamic buffer creation and cleanup
- Constantin, as you have noticed, @TableMapper@ impelementation depends on @getUniqueId()@ and @getPersistentClass().g...
- 02:45 AM Feature #2120: add runtime support for dynamically prepared queries
- Eric Faulhaber wrote:
> OK, but tomorrow, please check in the version that already has passed regression testing bef...
Also available in: Atom