Activity
From 11/13/2012 to 12/12/2012
12/12/2012
- 06:22 PM Base Language Feature #1611: implement QUOTER utility
- Assuming you have handled all the known issues, you can prepare/upload the update. Make sure the documentation you h...
- 06:21 PM Base Language Feature #1611: implement QUOTER utility
- The documentation is pretty good. Some comments:...
- 02:56 PM Base Language Feature #1611: implement QUOTER utility
- *QUOTER UTILITY DESCRIPTION*
The quoter utility will put the elements identified and extracted from the
input... - 02:55 PM Base Language Feature #1611: implement QUOTER utility
- 1. If a quoter command will be split in this way in p2j it will also not work in Progress. Checked.
2. This doesn'... - 05:11 PM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- Some tests are attached and passed as expected.
Now I am working with tests containing nested sql functions - not a... - 02:33 PM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- Your latest approach is all good except that we don't need a new p2j.cfg.xml parameter. We already have one that is ...
- 01:37 PM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- > Do not use the current conversion platform to determine how we convert strings. We can't go this route.
OK. I se...
12/11/2012
- 05:27 PM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- Do not use the current conversion platform to determine how we convert strings. We can't go this route. The problem...
- 03:32 PM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- Fix for backslash processing for conversion on Windows.
The suggested solution will be activated only when running... - 09:22 AM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- This is all a single update.
- 09:08 AM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- The Windows tests is OK too. I would like to make more tests with simulated two chars path separator to be sure this ...
- 08:22 AM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- Looks good.
- 04:44 PM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- I have attached SQL Functions I am going to test now. Sorry, there are no proper comments and formatting just because...
- 02:49 PM Base Language Feature #1611: implement QUOTER utility
- ...
- 02:41 PM Base Language Feature #1611: implement QUOTER utility
- Please show an example here that reproduces the problem. And show the error output from the 4GL.
- 02:39 PM Base Language Feature #1611: implement QUOTER utility
- There is one case of error message which might not be able to be reproduced exactly as in Progress. When we pass the ...
- 03:33 AM Base Language Feature #1611: implement QUOTER utility
- That would be much easier since I already have these checks in place before doing the pattern check which is supposed...
- 12:50 PM Conversion Tools Bug #1929 (Closed): conversion system needs to be on the Internet during conversion
- Closed since this is a duplicate of #1914.
- 12:48 PM Conversion Tools Bug #1929: conversion system needs to be on the Internet during conversion
- Check if this is the case. A report was made by Eric that suggested that the conversion system needed remote access ...
- 12:47 PM Conversion Tools Bug #1929 (Closed): conversion system needs to be on the Internet during conversion
- 12:44 PM Base Language Support #1928: update documentation to explain how to convert, develop and run P2J on Windows
- Update all P2J books to describe how to:
- run conversion on Windows
- run P2J (client and server) on Windows
- se... - 12:42 PM Base Language Support #1928 (Closed): update documentation to explain how to convert, develop and run P2J on Wi...
- 12:05 PM Database Feature #1910: add schema conversion support for sequences
- Ovidiu Maxiniuc wrote:
> The @_seqvals.d@ is indeed the default filename for exported sequence values. I documented ... - 11:29 AM Database Feature #1910: add schema conversion support for sequences
- Changes in today's update:
* @src@ directory structure fixed
* @dbimport@ replaced @seqimp@
* fixed indentation/al... - 11:04 AM Base Language Feature #1921: implement super-procedures
- I'm OK with your approach.
- 10:48 AM Base Language Feature #1921: implement super-procedures
- After looking at progress.g, SymbolResolver.addFunction and Function.annotateOptions, the simplest way I see to solve...
- 10:12 AM Base Language Feature #1921: implement super-procedures
- If there are frame definition inside a "to-be-hidden" local function or procedure, then the frame definition "leaks" ...
- 09:29 AM Base Language Feature #1921: implement super-procedures
- My first approach is to just drop the sub-trees.
Thanks for the frame definition tip, I'll check also how these case... - 09:21 AM Base Language Feature #1921: implement super-procedures
- What is your approach to handling this behavior? Do you just hide or drop the sub-trees?
One thing to consider: a... - 09:02 AM Base Language Feature #1921: implement super-procedures
- Greg, the order of the procedure/function is not important. No matter how you mix the procedures/functions in the abo...
- 08:28 AM Base Language Feature #1921: implement super-procedures
- Good findings. I find it hard to understand the value of this complexity. Much of the behavior seems arbitrary.
... - 07:51 AM Base Language Feature #1921: implement super-procedures
- 4GL allows procedure (and function) definitions with the same name, under some circumstances.
If two or more procedu...
12/10/2012
- 05:39 PM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- The new version of the fixupPropath() method.
1. Handles the arbitrary length of the path separator
2. Optimizing f... - 09:58 AM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- ...
- 09:16 AM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- > The fixupPropath() should be a little different. I don't want getPathSeparator() called more than once, because it ...
- 08:24 AM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- I am OK with the changes to setSearchPath(), getPathSeparator(), getLegacyPathSeparator() and getLegacyFileSeparator(...
- 03:09 PM Conversion Tools Feature #1514: implement fully dynamic reports (backed by the database)
- The scope of the reports should be chosen by the user:
- file-level
- a specific/arbitrary list of files
- an en... - 03:07 PM Base Language Feature #1611: implement QUOTER utility
- Is there anything wrong with my assumption that the path and the executable name will be in the same string AND that ...
- 03:01 PM Base Language Feature #1611: implement QUOTER utility
- I've tried to cover that, here is an example for the latest pattern I've gotten today:...
- 02:55 PM Base Language Feature #1611: implement QUOTER utility
- Costin: yes, we should handle paths on network shares.
Are we making this too difficult? The basic matching seem... - 01:48 PM Base Language Feature #1611: implement QUOTER utility
- > Should also windows network paths be detected as paths for quoter?
> I'm having a little trouble with the regular ... - 01:40 PM Base Language Feature #1611: implement QUOTER utility
- Should also windows network paths be detected as paths for quoter?
I'm having a little trouble with the regular expr... - 02:34 PM Database Feature #1580: upgrade Hibernate to latest level
- About "Found two representations"-related issues:
1. In the first issue ("crossReferenceItem already exists with") p... - 02:19 PM Database Feature #1910: add schema conversion support for sequences
- After you finish with the code changes resulting from the above code reviews, please review all places in the P2J Con...
- 02:12 PM Database Feature #1910: add schema conversion support for sequences
- Code review 1210b:
* Nice work! I'm excited to give this a test run with a real database.
* Is _seqvals.d a hard... - 01:38 PM Database Feature #1910 (WIP): add schema conversion support for sequences
- 01:38 PM Database Feature #1910: add schema conversion support for sequences
- Code review 1210a:
Please note that the following files in your zip file:... - 11:11 AM Database Feature #1910 (Review): add schema conversion support for sequences
- Added sequence current value import
- 06:59 AM Database Feature #1910: add schema conversion support for sequences
- Moved the generation of sequence ddl from .schema to .p2o file.
- 11:37 AM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- Vadim Nebogatov wrote:
> The arguments passed to SQLFunction are strings; we can parse them separately to Ast tree l...
12/08/2012
- 01:40 AM Database Feature #1580: upgrade Hibernate to latest level
- > Yes, this needs to be fixed, but I'm not sure what the issue is here. In build.xml, we copy the ehcache configurat...
12/07/2012
- 05:59 PM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- The fix for path separator in PROPATH handling issue.
The idea is to have the helper method fixupPropath(String pr... - 05:26 PM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- The arguments passed to SQLFunction are strings; we can parse them separately to Ast tree like method parse() does:
... - 12:50 PM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- Vadim Nebogatov wrote:
> I tried to find out also how to simplify first approach for constant expressions and for no... - 02:53 PM Base Language Feature #1611: implement QUOTER utility
- ...
- 02:45 PM Base Language Feature #1611: implement QUOTER utility
- 1.Already tested by copying the quoter executable in a path containing spaces and it works.
2. Working on it, my q... - 02:37 PM Base Language Feature #1611: implement QUOTER utility
- Yes, Eugenie found this as well. He is working on it.
In the meantime, you should do 2 things:
1. Make sure th... - 02:16 PM Base Language Feature #1611: implement QUOTER utility
- Coming back to the case of converting:...
- 11:53 AM Base Language Feature #1611: implement QUOTER utility
- ...
- 11:41 AM Base Language Feature #1611: implement QUOTER utility
- Is it safe to consider that if the code is converted with a certain OS specific it will also only be run in that OS?
... - 02:48 PM Database Feature #1581: add conversion and runtime support for certain metadata constructs
- Discussed with Greg. Probably the best approach is to use an embedded H2 database to provide access to these metadat...
- 01:54 PM Database Feature #1583: add conversion and runtime support for the INSERT language statement
- Code looks good, but I should not have suggested that this go into post-parse fixups. This is too early, and it will...
- 01:01 PM Database Feature #1580: upgrade Hibernate to latest level
- Stanislav Lomany wrote:
> 6. "(net.sf.ehcache.config.ConfigurationFactory:WARNING) No configuration found. Configuri... - 12:29 AM Database Feature #1580: upgrade Hibernate to latest level
- I'm not so sure this behavior is about an unstable release. But I think you are right that the select statement is p...
- 05:36 AM Base Language Feature #1921: implement super-procedures
- Entry 43 for #1920 was added a test update which covers the conversion rules for both persistent and super-procedures...
- 05:33 AM Base Language Feature #1920: implement persistent procedures
- Attached there is a test update which contains:
1. rules/ - all rules files which affect the conversion of persisten...
12/06/2012
- 03:37 PM Base Language Feature #1884: add some of the v10 data types and core built-ins
- _*TextOps class*_
I'm attaching an update containing:
- the TextOps class including fields and (static and some uti... - 03:22 PM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- ...
- 02:54 PM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- You mean the current conversion "C:\Windows\system;C:\Users\Eugenie\bin;" to "C:Windowssystem;C:Users\033ugenie\bin;"...
- 02:32 PM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- 3. Yes, what I see in 4GL is predefined Progress-specific path. The code to display PROPATH:...
- 02:23 PM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- 1. The conversion of string literals when the target is Windows, should already double up the \ characters, but in th...
- 02:09 PM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- > Make sure your p2j.cfg.xml is properly setup for Windows conversions. This should not be happening.
The p2j.cfg.... - 10:53 AM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- ...
- 02:52 PM Base Language Feature #1611: implement QUOTER utility
- Tested for
to see the values from readFile.read() when the logic gets to them... - 12:35 PM Base Language Feature #1611: implement QUOTER utility
- available() just tells you if you are going to block or not on a read. If it returns > 0 then you will not block if ...
- 11:58 AM Base Language Feature #1611: implement QUOTER utility
- The case I'm refferring to is when readFile is a BufferedReader pointing to System.in, in case readFile points to a f...
- 11:29 AM Base Language Feature #1611: implement QUOTER utility
- I don't understand how the readFile.read() can help in this case. If readLine() returns null but you are not at EOF,...
- 11:09 AM Base Language Feature #1611: implement QUOTER utility
- Actually this is the problem
readFile.readLine()) can return null if the stream hasn't put anything on yet and in th... - 11:02 AM Base Language Feature #1611: implement QUOTER utility
- ...
- 10:30 AM Base Language Feature #1611: implement QUOTER utility
- The readFile is a BufferedReader obtained in this way:...
- 10:10 AM Base Language Feature #1611: implement QUOTER utility
- Looking closer at the FileStream sub-class (which is the closest match) I don't think there is an easy way to turn a ...
- 10:01 AM Base Language Feature #1611: implement QUOTER utility
- Which Stream can I use?
Looking at the com.goldencode.p2j.util.Stream implementations:
*FileStream* constructor... - 09:19 AM Base Language Feature #1611: implement QUOTER utility
- How about using one of the com.goldencode.p2j.util.Stream sub-classes to read the input? We have already written thi...
- 09:10 AM Base Language Feature #1611: implement QUOTER utility
- 1. You are right about the conversion settings I had them for Unix, will add the logic to handle this case.
2. Nor... - 08:19 AM Base Language Feature #1611: implement QUOTER utility
- ...
- 10:28 AM Database Feature #1910: add schema conversion support for sequences
- Please make this issue your highest priority (including the import of current sequence values). We need to deliver a ...
- 10:23 AM Database Feature #1910: add schema conversion support for sequences
- Taking into consideration that the rules are more or less the same, a couple of hours should be enough to move the so...
- 09:53 AM Database Feature #1910: add schema conversion support for sequences
- I'm sorry, but in my review of your initial updates, I didn't notice that you were generating the sequence DDL from t...
- 02:35 AM Database Feature #1910: add schema conversion support for sequences
- I observed yesterday that the converted data dictionary file .p2o does not contains any reference to the sequence. Th...
- 08:57 AM Database Feature #1580: upgrade Hibernate to latest level
- About "Found two representations". After I've inserted the following code right after deletion of the target item the...
- 02:09 AM Database Feature #1580: upgrade Hibernate to latest level
- > Good work on finding a reliable recreate. Please open a new bug issue in the database project for this error, but ...
- 08:41 AM Base Language Feature #1920: implement persistent procedures
- We have task #1634 which is where we will work on the rest of the native procedure support. I agree with your plan f...
- 02:39 AM Base Language Feature #1920: implement persistent procedures
- My conclusions about native-procedure (PROCEDURE ... EXTERNAL cases) are:
* when a 4GL external procedure has a head... - 08:38 AM Base Language Feature #1634: implement full native library (.so or DLL) support
- Please look at #1920-41 and the related prior notes for some very useful information regarding native procedures.
12/05/2012
- 05:38 PM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- The following features were confirmed as working in native 4GL in Windows:
FILE-INFO:FILE-CREATE-DATE file_system_tr... - 05:35 PM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- Several notes for PROPATH get/set functionality
1. The P2J converts, compile and run the PROPATH statement.
2. The ... - 03:03 PM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- > Yes, we should implement a Windows-specific default (what is it?) in EnvironmentOps. I don't want to have to put so...
- 02:45 PM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- ...
- 07:03 PM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- The following calls has testcases to verify conversion result in Windows:...
- 04:20 PM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- I also think it is hard to predict now how will SQLFunction approch affect caching and performance. I hope not very m...
- 02:39 PM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- As far as when to do it, I would say to do a quick and dirty test soon if possible. You want to know now if there is...
- 02:00 PM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- AFAIK, we have not done any work to determine the potential performance penalty.
We will have to look at some typi... - 01:28 PM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- Eric: my questions were not related to the potential worry that you have about performance issues. I was fully aware...
- 03:05 PM Base Language Feature #1611: implement QUOTER utility
@OS-COMMAND "c:\my stupid space \laden path\quoter.exe" -C 45-50 whatever > output.txt@
this kind of call might be...- 01:32 PM Base Language Feature #1611: implement QUOTER utility
- ...
- 02:32 PM Base Language Feature #1920: implement persistent procedures
- ...
- 01:49 PM Base Language Feature #1920: implement persistent procedures
- 1 - yes, I refer to PROCEDURE ... EXTERNAL case
2 - I don't have a fully working example (i.e. I don't have a dll ... - 01:23 PM Base Language Feature #1920: implement persistent procedures
- Some questions/comments:
1. What do you mean by "native-proc"? Do you mean the invocation of something defined as... - 12:47 PM Base Language Feature #1920: implement persistent procedures
- Greg, should I add support for the "h:<read-only-attribute> = value" cases too ? Because 4GL does allow them (shows a...
- 11:35 AM Base Language Feature #1920: implement persistent procedures
- All RUN cases are handled by these rules:
- ControlFlowOps.invoke(String name, Object ... param) will be emitted for... - 02:15 PM Database Feature #1580: upgrade Hibernate to latest level
- Good work on finding a reliable recreate. Please open a new bug issue in the database project for this error, but do...
- 10:57 AM Database Feature #1580: upgrade Hibernate to latest level
- About...
- 11:51 AM Database Feature #1911: add runtime support for sequences
- I spoke with Greg about this and he suggested a much more efficient (and simpler) solution:
Add flags to the direc...
12/04/2012
- 06:43 PM Base Language Feature #1611: implement QUOTER utility
- Greg: yes, the calls input through, output through and input-output through has the problem in Windows running after ...
- 12:22 PM Base Language Feature #1611: implement QUOTER utility
- Are there more possible extensions quoter can have besides .exe, on unix maybe? Using Quoter with a path containing s...
- 08:48 AM Base Language Feature #1611: implement QUOTER utility
- In regards to note 36 (https://projsrv01/redmine/issues/1611#note-36):
Eugenie: please read that note carefully. Y... - 04:27 AM Base Language Feature #1611: implement QUOTER utility
- Greg, what Costin saw I think is a difference between how 4GL behaves on Windows and Linux environments. Assuming we ...
- 06:05 PM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- Investigation SQLFunctions processing in Hibernate&Antlr source code. SqlGenerator invokes SQLFunction.render() metho...
- 12:29 PM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- Greg Shah wrote:
> Did I miss this?
Apparently, yes, you missed the post (# 49) where I voiced my concern about p... - 12:14 PM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- Greg Shah wrote:
> I didn't realize that we already had eq and ne. When are they used? I previously thought that w... - 08:23 AM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- Did I miss this? Is there a performance penalty to using the SQLFunction approach?
Also, what is the performance ... - 08:22 AM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- equals and not_equals seem fine to me.
I didn't realize that we already had eq and ne. When are they used? I pre... - 12:23 AM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- Eric Faulhaber wrote:
> ...or even @eq@ and @neq@?
I just remembered @eq@ and @ne@ already are user defined funct... - 12:13 AM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- OK, it appears you have determined the SQLFunction approach is feasible. Let's go with it and see how it performs. ...
- 09:06 AM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- Hold it until we have all the changes ready for the task.
- 08:49 AM Base Language Feature #1650: process launching support for Windows (JNI library changes and any associated modi...
- See https://projsrv01/redmine/issues/1611#note-36 for some useful notes.
- 01:43 AM Database Feature #1911: add runtime support for sequences
- The implementation a service thread for handling sequence primitives (current/next/set) like this:
- the current val...
12/03/2012
- 04:54 PM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- Concerning Example 3:
I tested with H2 database: for case f1=true, f2=true expression
(tt.f1 != true and tt.f2... - 04:29 PM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- Do we need this change to be integrated into current P2J build? I mean regression testing and checking in to bzr? Or ...
- 02:50 PM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- It looks good. Remove the MacOS support from indexOfNewLine() and go with it.
- 10:38 AM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- OK. The suggested helper is the method in Stream class:...
- 09:43 AM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- Although the Stream use of searching for NEWLINE isn't causing a problem right now, I still want it to be fixed. Try...
- 02:47 PM Base Language Feature #1611: implement QUOTER utility
- I don't understand. My recent suggestion to modify ProcessDaemon to transform "quoter" into "java ... com.goldencode...
- 02:13 PM Base Language Feature #1611: implement QUOTER utility
- Would launching the Quoter as a separate process be a solution for this?
- 10:40 AM Base Language Feature #1611: implement QUOTER utility
- Compared p2j implementation results to progress,however there seems to be one problem :
When we use it in p2j the co... - 01:23 PM Database Feature #1580: upgrade Hibernate to latest level
- OK, it sounds like caching the Hibernation Configuration objects by schema is no longer a safe thing to do with this ...
- 01:05 PM Database Feature #1580: upgrade Hibernate to latest level
- > What "type" resource was scoped to one SessionFactory that is now being scoped to another? In other words, what re...
- 12:06 PM Database Feature #1580: upgrade Hibernate to latest level
- Stanislav Lomany wrote:
> ... - 09:44 AM Database Feature #1580: upgrade Hibernate to latest level
- >The root cause might be because the ConnectionManager.local.cleanup is executed before the Persistence.Context.clean...
- 08:56 AM Database Feature #1580: upgrade Hibernate to latest level
- > 3. "error closing Hibernate session" is caused by fact that the session with a remote database is closed on applica...
- 05:57 AM Database Feature #1580: upgrade Hibernate to latest level
- Warning that appears when multiple servers are executed on the same machine:...
- 05:53 AM Database Feature #1580: upgrade Hibernate to latest level
- 1....
12/02/2012
- 06:21 AM Database Feature #1580: upgrade Hibernate to latest level
- The following issue:...
11/30/2012
- 06:12 PM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- All the following calls from the file_system.odt have testcases, converts and run in Windows environment:...
- 06:01 PM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- I just retested and have the correction. The case 1 can be left untouched. And moreover case 2 can be unchanged too. ...
- 05:10 PM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- Is case 1 really a problem? That is about writing a newline, not searching for one. I think it should write the loc...
11/29/2012
- 04:24 PM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- SQLFunctionTemplate does not allow repeating parameters, but direct implementation of SQLFunction interface seems res...
- 04:20 PM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- SQLFunction approach (SQLFunctions are already in Hibernate v3.0.5).
I have added
registerFunction("p2j... - 03:42 PM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- The investigation results:
Affected code is located in com.goldencode.p2j.util package, classes Stream and FileStrea... - 09:29 AM Base Language Feature #1611: implement QUOTER utility
- ...
- 09:27 AM Base Language Feature #1611: implement QUOTER utility
- Constantin, you raise some good points.
Here are the differences as I know them:
- On Windows, the executable... - 09:19 AM Base Language Feature #1611: implement QUOTER utility
- Related to this
Quoter syntax is:
@quoter [options] [input_file] >[output_file]@
In the quoter implementation I... - 03:13 AM Base Language Feature #1611: implement QUOTER utility
- I don't think it is that easy to replace "quoter" references from the process-launching command with the "java ..." c...
- 05:35 AM Database Feature #1580: upgrade Hibernate to latest level
- > When those first warnings appear in the log, is it just the messages themselves, or is there any associated stack t...
- 10:30 PM Database Feature #1580: upgrade Hibernate to latest level
- When those first warnings appear in the log, is it just the messages themselves, or is there any associated stack tra...
- 11:25 PM Database Feature #1582: add conversion and runtime support for sequences
- Some additional code review comments for the 1123a drop:
* How is CustomSequence to be used? AFAIK, Progress sequ... - 10:40 PM Database Feature #1911: add runtime support for sequences
- If we need transaction processing separate from the current (application-defined) database transaction, it sounds lik...
11/28/2012
- 03:33 PM Database Feature #1580: upgrade Hibernate to latest level
- I looked at the original log carefully and now we have reproduction:
V-C-select RFQ-Enter (RFQ server should be runn... - 10:26 AM Database Feature #1580: upgrade Hibernate to latest level
- Stas, my conclusion about this being a threading issue was based on some cursory Internet research. Please dig into ...
- 06:09 AM Database Feature #1580: upgrade Hibernate to latest level
- Stanislav,
From the org.hibernate.Session javadoc (http://docs.jboss.org/hibernate/orm/4.1/javadocs/org/hibernate/Se... - 05:54 AM Database Feature #1580: upgrade Hibernate to latest level
- A session CAN be closed in another thread:...
- 01:27 PM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- OK. Please propose a fix as part of this task.
- 12:51 PM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- The testing respective 4GL program in Windows OpenEdge10 discovers the 4GL accepts both Linux and Windows style line ...
- 08:18 AM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- Yes and yes. Correct.
- 07:17 PM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- > Please test the same case in 4GL on Windows. In other words: does the 4GL properly honor the Linux line end the sam...
- 11:06 AM Database Feature #1911: add runtime support for sequences
- An issue related to PSQL, but not only:
On a finite, non cycling sequences, calling @nextVal@ will return an error... - 09:39 AM Base Language Feature #1590 (Closed): implement PROPATH assignment
- 09:00 AM Base Language Feature #1590 (Review): implement PROPATH assignment
- 08:45 AM Base Language Feature #1611: implement QUOTER utility
- Constantin: you make very good points here. Yes, these other cases are problems. And the client-side invocation is ...
- 08:28 AM Base Language Feature #1611: implement QUOTER utility
- Tested @INPUT THROUGH@ and @OUTPUT THROUGH@ stream case and they are viable.
The @INPUT-OUTPUT THROUGH@ stream case ... - 07:10 AM Base Language Feature #1611: implement QUOTER utility
- Greg, some thoughts about the QUOTER utility: as this is an external program invoked via the OS-COMMAND and other pro...
- 04:18 AM Database Feature #1583 (Review): add conversion and runtime support for the INSERT language statement
- 04:18 AM Database Feature #1583 (WIP): add conversion and runtime support for the INSERT language statement
- 04:15 AM Database Feature #1583: add conversion and runtime support for the INSERT language statement
- I first tested if the sequence of CREATE/UPDATE has the same effect like @INSERT@. My fear was that if user skips the...
11/27/2012
- 06:58 PM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- It is an interesting finding (about the Linux line ending not being honored in P2J on Windows). Please test the same...
- 06:06 PM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- The second part of the stream chapter:...
- 06:32 PM Database Feature #1580: upgrade Hibernate to latest level
- Eric Faulhaber wrote:
> ... Although I haven't looked at the latest Hibernate source, I suspect Hibernate is using a... - 06:21 PM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- Please explain your SQLFunction idea more fully. It is intriguing.
I think this is a relatively new feature in Hi... - 06:03 PM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- How to proceed with this task?..
- 04:57 PM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- One more option is providing a custom comparing functions (org.hibernate.dialect.function.SQLFunction) registered wit...
- 04:29 PM Base Language Feature #1611: implement QUOTER utility
- ...
- 01:20 PM Base Language Feature #1611: implement QUOTER utility
- ...
- 12:33 PM Base Language Feature #1611: implement QUOTER utility
- Made the changes according to feedback, there's some issue though:...
- 07:39 PM Base Language Feature #1611 (WIP): implement QUOTER utility
- This is much better.
Feedback:
1. What are the results of your testing with these options? I see that you have ... - 09:59 AM Base Language Feature #1591: implement QUOTER built-in function
- This javadoc:...
- 08:56 AM Base Language Feature #1591: implement QUOTER built-in function
- Attached proposed update
11/26/2012
- 06:22 PM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- I agreed absolutely. But it seems there is no choice if you want to fix this issue on the HQL level.
My draft idea ... - 12:05 AM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- Vadim Nebogatov wrote:
> > I don't remember this being a supported operator in HQL.
> What operator did you mean? H... - 04:50 PM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- Correct.
- 04:13 PM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- Need to clarify in requirements for the following resources:...
- 01:24 PM Base Language Feature #1611: implement QUOTER utility
- Added proposed update, commityed testcases to bazaar, run regression tests (to see if they don't fail because of the ...
- 12:59 PM Database Feature #1666: add support for mixed-direction indexes
- I use PostgreSQL 9.1 (not the latest available version but what I have installed) to test this issue. Also I have a p...
- 12:41 PM Base Language Feature #1920: implement persistent procedures
- ...
- 12:02 PM Base Language Feature #1920: implement persistent procedures
- A "message h:next-sibling:prev-sibling:next-sibling:name." statement gets parsed this way (from .parser file):...
- 11:15 AM Base Language Feature #1920: implement persistent procedures
- I wonder if treating COLON as a binary operator will help with the conversion.
I also wonder if we are parsing cha... - 09:14 AM Base Language Feature #1920: implement persistent procedures
- Understood and agreed.
- 09:12 AM Base Language Feature #1920: implement persistent procedures
- One thing about handle.unwrap. 4GL allows these kind of calls:...
- 09:11 AM Base Language Feature #1920: implement persistent procedures
- > In regards to the RUN <proc> PERSISTENT, is that a case where we know that <proc> is an external procedure (or shou...
- 09:03 AM Base Language Feature #1920: implement persistent procedures
- Sorry, I wish I was wrong on this point.
In regards to the RUN <proc> PERSISTENT, is that a case where we know tha... - 03:33 AM Base Language Feature #1920: implement persistent procedures
- Greg, you are correct, 4GL allows '.', '\' and '/' characters as part of an internal procedure's name; so, we can't d...
- 12:26 PM Database Feature #1926: create an en_GB@p2j_basic locale definition
- Model this after locale/en_US@p2j_basic, customizing LC_CTYPE and LC_COLLATE sections. Use en_GB as a basis instead ...
- 12:22 PM Database Feature #1926 (Hold): create an en_GB@p2j_basic locale definition
11/25/2012
- 04:56 PM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- Yes, you are correct, I did not notice that issue concerns NHibernate, but all others I wrote about Hibernate.
CA... - 02:04 PM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- Vadim Nebogatov wrote:
> IS [NOT] DISTINCT FROM predicate is not supported with Hibernate and it seems they even do ... - 12:25 PM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- IS [NOT] DISTINCT FROM predicate is not supported with Hibernate and it seems they even do not plan to support it:
...
11/24/2012
- 05:00 PM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- Vadim Nebogatov wrote:
> What about limitations for SQL statement length which some databases have? Resulting SQL st... - 03:30 PM Database Feature #1911 (WIP): add runtime support for sequences
- 03:25 PM Database Feature #1666: add support for mixed-direction indexes
- Highest priority sub-tasks of this issue should be:
# to fix the creation of indexes during the data import proces...
11/23/2012
- 06:01 PM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- Yes, I understand this. Converted code will be not affected in this case, HQLAst and parameter list changes should be...
- 05:53 PM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- I'll let Eric comment on all the other good information and questions you have posed.
The only thing I want to mak... - 05:34 PM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- What about limitations for SQL statement length which some databases have? Resulting SQL statement could be very heavy.
- 05:15 PM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- I have found out that not only inequality should be replaced but equality also work incorrectly in some cases.
Very ... - 04:42 PM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- For now the following features described in streams.odt chapter have testcases to demonstrate conversion in Windows. ...
- 01:26 PM Database Feature #1582 (WIP): add conversion and runtime support for sequences
- I have reviewed the progress.g changes. They are fine. My only request is for you to please change the ending copyr...
- 12:04 PM Database Feature #1582: add conversion and runtime support for sequences
- My answers/comments to your questions:
* There is no separate ddl file generated for sequences. Only the xml that ge... - 01:03 AM Database Feature #1582: add conversion and runtime support for sequences
- I have done only a very high-level review of the update so far, and it looks like you've addressed all the necessary ...
- 11:23 AM Base Language Feature #1920: implement persistent procedures
- About the static calculation of called code in a RUN statement, I am concerned with this information you posted in #1...
- 10:37 AM Base Language Feature #1920: implement persistent procedures
- Actually, the only case when conversion knows for sure what to emit is the RUN filename statement, when the filename ...
- 08:56 AM Base Language Feature #1920: implement persistent procedures
- ...
- 08:36 AM Base Language Feature #1591: implement QUOTER built-in function
- ...
- 08:32 AM Database Feature #1580: upgrade Hibernate to latest level
- I don't like putting a Hibernate-specific hack into our more generic implementation.
Let's back up a bit. In what...
11/22/2012
- 03:04 PM Database Feature #1580: upgrade Hibernate to latest level
- Eric, at 3 I'm not saying that is not feasible; as only Conversation threads can create hibernate Sessions, at a firs...
- 01:16 PM Database Feature #1580: upgrade Hibernate to latest level
- Regarding points 1 & 2 in the previous post: currently, there is no creation of Hibernate Session objects on anythin...
- 11:42 AM Database Feature #1580: upgrade Hibernate to latest level
- Thoughts about context cleanup:
# If the we decide to clean the Hibernate session on the Conversion thread, then we ... - 11:02 AM Database Feature #1580: upgrade Hibernate to latest level
- The Hibernate Session objects are created on the conversation thread (for that matter, all persistence runtime code o...
- 09:52 AM Database Feature #1580: upgrade Hibernate to latest level
- I don't think it is as simple as you suggest. By its nature, all contexts are accessed from multiple threads. At a ...
- 12:56 AM Database Feature #1580: upgrade Hibernate to latest level
- Regarding the error......
- 12:35 AM Database Feature #1580: upgrade Hibernate to latest level
- Eric Faulhaber wrote:
> How common was the
>
> [...]
>
> error in the regression server log? This looks a lot... - 12:28 AM Database Feature #1580: upgrade Hibernate to latest level
- How common was the...
- 11:17 AM Base Language Feature #1920: implement persistent procedures
- 1 - This would be my choice too.
2 - Yes
3 - If there is only one handle.unwrap method to access the attributes... - 10:29 AM Base Language Feature #1920: implement persistent procedures
- In regard to the handle issue:...
- 06:36 AM Base Language Feature #1920: implement persistent procedures
- Another thing about RUN filename PERSIST [SET handle] statement. We can either emit this something like (for a RUN te...
- 04:57 AM Base Language Feature #1920: implement persistent procedures
- Greg, something about the handle attributes in general. In 4GL, a code like this:...
- 11:13 AM Base Language Feature #1591: implement QUOTER built-in function
- 1. This issue seems to appear when I recheck the files from the zip before submitting, I'm aware of it now.
3.... - 09:44 AM Base Language Feature #1591: implement QUOTER built-in function
- Feedback:
1. The file rules/convert/builtin_functions.rules~ should not be in the update zip.
2. There are stil... - 02:58 AM Base Language Feature #1591 (Review): implement QUOTER built-in function
- 11:01 AM Database Feature #1582: add conversion and runtime support for sequences
- Uploaded update patch that covers both conversion and runtime sub-tasks (1910 and 1911).
- 09:17 AM Database Feature #1583: add conversion and runtime support for the INSERT language statement
- Yes, I agree completely. So far we have almost never seen this statement used in practice. It is an interesting com...
- 12:17 AM Database Feature #1583: add conversion and runtime support for the INSERT language statement
- Greg,
There are only 4 uses of this statement across both projects (all in the server project), and they are all o... - 06:17 AM Database Feature #1911: add runtime support for sequences
- I discovered a way to access the current value in PostgreSQL without calling @CURRVAL@ which fails if it's called bef...
- 12:21 AM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- Yes, I agree, let's put it in the HQLPreprocessor.
11/21/2012
- 02:12 PM Base Language Feature #1591: implement QUOTER built-in function
- Added revised update but for
14:
Couldn't find the wrong alignment... - 12:13 PM Base Language Feature #1591: implement QUOTER built-in function
- Feedback:
1. Rename workQuoter() to quoterWorker().
2. workQuoter() is private static. Per the coding standard... - 07:52 AM Base Language Feature #1591: implement QUOTER built-in function
- Added propposed update. Submited testcase quoter-builtin-function.p to bazaar testcases repository.
- 01:55 PM Base Language Feature #1920: implement persistent procedures
- Sorry, I've changed it now, it was a typo mistake.
- 01:53 PM Base Language Feature #1920: implement persistent procedures
- Is the sample missing the empty ()?...
- 12:32 PM Base Language Feature #1920: implement persistent procedures
- New important findings: the "handle" for the "RUN ... IN handle", "DYNAMIC-FUNCTION(... IN handle)" and "FUNCTION ......
- 12:58 PM Database Feature #1580: upgrade Hibernate to latest level
- Modification of LogicalUserType completely solves the problem (unless regression testing will show a surprise). Other...
- 12:11 PM Database Feature #1580: upgrade Hibernate to latest level
- Stanislav Lomany wrote:
> 4. Possible work around: use quotes for boolean literals: 'true' and 'false'
> 5. I don't... - 10:23 AM Database Feature #1580: upgrade Hibernate to latest level
- About boolean literals:
1. The bug/feature is related only to the fields of the P2J LogicalUserType (and any other c... - 11:16 AM Base Language Feature #1626: implement OS-DIR support as an INPUT stream
- Please review the features of the OS-DIR input stream type in the INPUT FROM language statement. You should implemen...
- 09:48 AM Database Feature #1911: add runtime support for sequences
- Here are the result about MS SQL server. I used the free 2012 EXPRESS version with SP1, but I believe that there are ...
11/20/2012
- 02:26 PM Base Language Feature #1648: review all filesystem support (runtime) on Windows and fix/resolve any issues
- OK.
- 02:24 PM Base Language Feature #1648 (WIP): review all filesystem support (runtime) on Windows and fix/resolve any issues
- Please review the streams.odt and file_system.odt chapters of the Conversion Reference. Both chapters have summary t...
- 02:17 PM Base Language Support #1700 (Closed): test the startup, basic processing and shutdown of the P2J server and P2J...
- 07:53 AM Base Language Support #1700: test the startup, basic processing and shutdown of the P2J server and P2J client o...
- I rebuilt staging. Please distribute the update via email.
- 07:32 PM Base Language Support #1700: test the startup, basic processing and shutdown of the P2J server and P2J client o...
- Checked in p2j bzr and applied to staging.
Need to run ant jar in staging p2j to take effect. - 02:03 PM Base Language Feature #1591: implement QUOTER built-in function
- After retest on Progress found that custom null can only be provided with 3 argument call, if a 2 argument it's tried...
- 12:13 PM Base Language Feature #1591: implement QUOTER built-in function
- I understand. Don't worry about the fact that the result will not work in PostgreSQL. We know this. But any such d...
- 11:05 AM Base Language Feature #1591: implement QUOTER built-in function
- Is the main purpose of quoter to be used with database query instructions like where clauses?
If so, there might be s... - 11:20 AM Database Feature #1911: add runtime support for sequences
- 1. There is no problem for Progress/OE having a simple code like:...
- 10:53 AM Database Feature #1911: add runtime support for sequences
- Please also research sequences in MS SQL Server, which we have to support for this project.
- 10:38 AM Database Feature #1911: add runtime support for sequences
- Ovidiu Maxiniuc wrote:
> [...]
>
> *PostgreSQL*
> * offers full support for sequences (min and max values, varia... - 08:21 AM Database Feature #1911: add runtime support for sequences
- I have done some investigations and here is what I found out:
The Hibernate @Dialect@ base class defines the followi... - 09:20 AM Base Language Feature #1921: implement super-procedures
- > This is ridiculous.
I agree, it took me a while to figure it out that the search mode is not for the caller, but ... - 08:43 AM Base Language Feature #1921: implement super-procedures
- This is ridiculous. Some thoughts in general:
1. The complexity of this behavior is high.
2. There is a mismatch... - 07:23 AM Base Language Feature #1921: implement super-procedures
- To demonstrate how SEARCH-SELF and SEARCH-TARGET behave, let's assume we have this super-procedure hierarchy:...
- 07:52 AM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- This should not be exploded into the code. It should be hidden in the HQL preprocessor.
There is even a good reas...
11/19/2012
- 05:45 PM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- In common case 4GL inequality expression in WHERE clause
exp1!=exp2
should be replaced with
(exp1 is null and e... - 09:41 AM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- Vadim Nebogatov wrote:
> Problem found. In common case is that not enough to change
>
> expr1 != expr2
>
> to
... - 05:39 PM Database Feature #1910: add schema conversion support for sequences
- So far the discussion has centered around the conversion of business logic references to sequences, but the highest p...
- 01:33 PM Database Feature #1910: add schema conversion support for sequences
- From progress.g:...
- 11:43 AM Database Feature #1910: add schema conversion support for sequences
- The key point here is that the assignment style statements should already be working without duplicating the assignme...
- 11:40 AM Database Feature #1910: add schema conversion support for sequences
- ...
- 10:54 AM Database Feature #1910: add schema conversion support for sequences
- I can now confirm that the statements also need "EQUALS! expr" at the end. Indeed, the syntax is stupid, but the antl...
- 10:53 AM Database Feature #1910: add schema conversion support for sequences
- What do you mean?
At this moment, the P2J work just fine, .p file is correctly converted.
Keeping @sequence_funcs@ ... - 10:14 AM Database Feature #1910: add schema conversion support for sequences
- OK, that explains things. When I added support for those, I had no way to test if the unquoted names could be used i...
- 10:02 AM Database Feature #1910: add schema conversion support for sequences
- As far as I can see, they are already there:...
- 09:54 AM Database Feature #1910: add schema conversion support for sequences
- We have not yet written the backing class for the 64-bit integer. It will be called int64 when it is written. But t...
- 09:48 AM Database Feature #1910: add schema conversion support for sequences
- The answer for 2nd question for now:
I am positive that DYNAMIC- forms require exactly 2 character parameters. This ... - 09:27 AM Database Feature #1910: add schema conversion support for sequences
- Questions:...
- 02:04 AM Database Feature #1910: add schema conversion support for sequences
- I created the new @com.goldencode.p2j.util.Sequence@ class with the appropriate methods declarations.
However, the P... - 05:16 PM Base Language Support #1700: test the startup, basic processing and shutdown of the P2J server and P2J client o...
- You can check in the change to bzr and apply it to staging.
- 03:27 PM Base Language Support #1700: test the startup, basic processing and shutdown of the P2J server and P2J client o...
- The modified versions of the ChuiSimulator.java and SwingHelper.java have been uploaded for review.
- 11:46 AM Base Language Support #1700: test the startup, basic processing and shutdown of the P2J server and P2J client o...
- Prepare the update zip file and attach it to this issue's history. I will then do a final code review and let you know.
- 11:22 AM Base Language Support #1700: test the startup, basic processing and shutdown of the P2J server and P2J client o...
- OK. What about changes testing and uploading?
The code involved in the change does not affect the usual client beh... - 07:42 AM Base Language Support #1700: test the startup, basic processing and shutdown of the P2J server and P2J client o...
- Go with your 2nd approach:...
- 05:05 PM Base Language Feature #1884: add some of the v10 data types and core built-ins
- This is a list of static fields/methods that should be moved from the character class to the new TextOps class.
*_... - 11:36 AM Base Language Feature #1921: implement super-procedures
- Would you please show an example of both SEARCH-SELF and SEARCH-TARGET?
- 10:01 AM Base Language Feature #1921: implement super-procedures
- SUPER-PROCEDURES attribute:
- contains the string representation of the super procedure stack
- the top of the stac... - 05:30 AM Base Language Feature #1921: implement super-procedures
- Just a note, I think we do probably have dynamic calls, even though the SUPER-PROCEDURE stack is effectively static. ...
- 10:27 AM Base Language Feature #1920: implement persistent procedures
- Agreed.
- 10:26 AM Base Language Feature #1920: implement persistent procedures
- The next steps for this task (and super-procedures) are:
1a. provide conversion support for all related 4GL features... - 09:38 AM Database Feature #1580: upgrade Hibernate to latest level
- Have you removed all the old versions of the Hibernate jar and its dependencies from the project and from the p2j.mf ...
- 05:09 AM Database Feature #1580: upgrade Hibernate to latest level
- I have some troubles with Hibernate. I have the small project to deal with different versions of Hibernate and while ...
11/18/2012
- 05:42 PM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- We can only use constructs that can be expressed in HQL and which are supported across all major databases (e.g., Ora...
11/17/2012
- 04:26 PM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- Variant with changes in QUERY_SUBST is investigated. It is also possible solution but not very easy because QUERY_SU...
11/16/2012
- 06:25 PM Base Language Support #1700: test the startup, basic processing and shutdown of the P2J server and P2J client o...
- Your change is not enough to get the ChUI client working. Consider the constructor of the ChuiSimulator class. The ge...
- 05:21 PM Base Language Support #1700: test the startup, basic processing and shutdown of the P2J server and P2J client o...
- OK, this is close. But it seems that the real problem is just with our isMonospaced() implementation. In other word...
- 04:31 PM Base Language Support #1700: test the startup, basic processing and shutdown of the P2J server and P2J client o...
- More investigation.
Looks like the reason for screen corruption in Windows monospaced has been found. The CHUI out... - 07:35 AM Base Language Support #1700: test the startup, basic processing and shutdown of the P2J server and P2J client o...
- The debugging results:
1. The SwingHelper.getMonoFontList() and SwingHelper.isMonospaced() are seems to work fine.... - 05:40 PM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- Problem found. In common case is that not enough to change
expr1 != expr2
to
expr1 is null and expr2 is not ... - 02:38 PM Base Language Feature #1884: add some of the v10 data types and core built-ins
- I recreated the longchar class as a subclass of character and added only the constructors.
I created the new class ... - 11:57 AM Database Feature #1910: add schema conversion support for sequences
- Please show the changes you have had to make. I am especially interested in the progress.g changes, but show everyth...
- 11:35 AM Database Feature #1910 (WIP): add schema conversion support for sequences
- 07:50 AM Base Language Feature #1591: implement QUOTER built-in function
- After more tests it seems that in fact quoter uses a fixed format for date not the format it is defined with:...
- 07:45 AM Database Feature #1580: upgrade Hibernate to latest level
- Stanislav Lomany wrote:
> Interesting thing about boolean literals issue is that it presents in the latest Hibernate... - 07:12 AM Database Feature #1580: upgrade Hibernate to latest level
- Boolean literals can be fixed by the following changes in org.hibernate.hql.internal.ast.tree.BooleanLiteralNode:
<p... - 07:09 AM Base Language Feature #1590: implement PROPATH assignment
- Runtime regression testing has passed. The update was applied to staging (without the testcase), staging P2J was rebu...
11/15/2012
- 06:04 PM Database Bug #18: issues with ne/equal and true/false conversion in WHERE clauses
- Based on idea above, new rule and function "replaceInequalityNode" are added. Function seems is not optimal, I think...
- 05:09 PM Database Feature #1580: upgrade Hibernate to latest level
- So, what are your thoughts about how we address these 3 errors?
Also, thoughts on the deprecated, positional param... - 03:10 PM Database Feature #1580: upgrade Hibernate to latest level
- Interesting thing about boolean literals issue is that it presents in the latest Hibernate release (at first I though...
- 07:09 AM Database Feature #1580: upgrade Hibernate to latest level
- As far as I've analyzed the regression testing log (it is 500M), there are three types of errors:
1. Boolean literal... - 04:58 PM Base Language Feature #1884: add some of the v10 data types and core built-ins
- Go forward with this approach:
1. Make longchar a subclass of character. Override only as minimally necessary. I... - 02:11 PM Base Language Feature #1884: add some of the v10 data types and core built-ins
- I admit that a new longchar class with a lot of duplicated methods is not a solution but I went on this route to have...
- 02:03 PM Base Language Feature #1591: implement QUOTER built-in function
- Make sure you test each data type with explicit format strings that are different from the default.
Example, try "... - 01:29 PM Base Language Feature #1591: implement QUOTER built-in function
- Good point. In this case, it is probably best to call a variant of quoter(). Perhaps it should be named quoterForma...
- 01:23 PM Base Language Feature #1591: implement QUOTER built-in function
- That may pose some problems since quoter can also be called with 2 or 3 parameters (custom unknown replacement and cu...
- 01:02 PM Base Language Feature #1591: implement QUOTER built-in function
- This means that during conversion, you must emit any non-default format string for the variable into the quoter() cal...
- 11:49 AM Base Language Feature #1591: implement QUOTER built-in function
- This seems to be only reproducible for quoter...
- 11:11 AM Base Language Feature #1591: implement QUOTER built-in function
- Please provide a small sample here that shows the problem. Please note that when you say "string equivalent of the d...
- 10:11 AM Base Language Feature #1591: implement QUOTER built-in function
- There seems to be a problem for date variables
Assuming we have the following variable:... - 01:04 PM Base Language Feature #1920: implement persistent procedures
- OK, that all makes sense.
- 12:49 PM Base Language Feature #1920: implement persistent procedures
- > IF this behavior was associated with widgets/frames, we would want to replace the referent with a dynamic proxy (in...
- 08:52 AM Base Language Feature #1920: implement persistent procedures
- ...
- 08:27 AM Base Language Feature #1920: implement persistent procedures
- For #1920-11 - I've added the comment to #1921, please update there all info about super procedures.
- 07:11 AM Base Language Feature #1920: implement persistent procedures
- Hi Greg,
Thanks for adding me in- that is interesting, but what a nightmare!
Why did Progress have to come up w... - 03:53 AM Base Language Feature #1920: implement persistent procedures
- Answers for entry #1920-8
> Yes. The behavior also suggests that there may be an additional state of "deleted". Un... - 02:43 AM Base Language Feature #1920: implement persistent procedures
- Answers for #1920-7
> If I understand correctly, calls to these entry points are all done indirectly (e.g. RUN x IN ... - 12:37 PM Base Language Feature #1590: implement PROPATH assignment
- Regression testing is running in a staging copy. If it passes, I'll apply the update to staging.
- 11:09 AM Base Language Feature #1590: implement PROPATH assignment
- The proposed update looks good. Please work with Constantin to get runtime regression testing done on lightning stag...
- 05:17 AM Base Language Feature #1590: implement PROPATH assignment
- Added proposed update. Done regression tests - resulting sources are identical.
- 09:50 AM Database Feature #1582: add conversion and runtime support for sequences
- Ovidiu Maxiniuc wrote:
> ... I believe P2J implementation will focus on OE10.x at the moment so the P2J implementati... - 07:53 AM Database Feature #1582: add conversion and runtime support for sequences
- Seems like the OpenEdge version installed on windev01 is only at version 10.2 and does not support the new extra para...
- 05:26 AM Database Feature #1582: add conversion and runtime support for sequences
- At first attempt to read about and prepare the dynamic forms testcases I could not find them in Progress Reference do...
- 08:59 AM Base Language Feature #1921: implement super-procedures
- Agreed. See #1922.
- 08:36 AM Base Language Feature #1921: implement super-procedures
- If we can somehow use hints to hard code the super procedure hierarchy and, during conversion, extract the entire hie...
- 08:26 AM Base Language Feature #1921: implement super-procedures
- Hi Greg,
Thanks for adding me in- that is interesting, but what a nightmare!
Why did Progress have to come up w... - 08:59 AM Conversion Tools Feature #1922 (New): identify if and how we can convert the super procedure chain into an interfa...
11/14/2012
- 03:38 PM Base Language Feature #1920: implement persistent procedures
- Some thoughts on the implementation:...
- 02:52 PM Base Language Feature #1920: implement persistent procedures
- Some thoughts on the 4GL behavior:...
- 09:40 AM Base Language Feature #1920: implement persistent procedures
- A. Implementation problems:
1. still need to find out how the exposed TRIGGERs work in 4GL, but I'll leave this last... - 09:40 AM Base Language Feature #1920: implement persistent procedures
- 0. a procedure handle will expose public internal procedures, functions and also triggers.
1. the standard procedu... - 02:29 PM Base Language Feature #1590: implement PROPATH assignment
- Only the build has failed. Check the build.xml to see the amount of memory needed for the compile target. Change th...
- 02:15 PM Base Language Feature #1590: implement PROPATH assignment
- I made the changes and ran the regression tests however I got a message at the end that Error occurred during initia...
- 09:09 AM Base Language Feature #1590: implement PROPATH assignment
- This sounds like a good approach.
Costin: please make the changes to EnvironmentOps and to Preprocessor.evaluate()... - 04:59 AM Base Language Feature #1590: implement PROPATH assignment
- MAJIC conversion fails because cases like this:...
- 01:38 PM Base Language Feature #1884: add some of the v10 data types and core built-ins
- 1. We don't want to duplicate code. BUT
2. We need to limit the operators, built-in functions and so forth as neede... - 12:42 PM Base Language Feature #1884: add some of the v10 data types and core built-ins
- In order to go further with implementing the LONGCHAR data type I created the longchar class as a copy of the charact...
11/13/2012
- 06:34 PM Base Language Feature #1884: add some of the v10 data types and core built-ins
- I reviewed the 4gl operator functions and procedures implemented by the character class and also the ones taking LONC...
- 01:55 PM Base Language Support #1700: test the startup, basic processing and shutdown of the P2J server and P2J client o...
- Applied to staging and checked in Bazaar.
- 01:29 PM Base Language Support #1700: test the startup, basic processing and shutdown of the P2J server and P2J client o...
- The update has been repackaged. Also it includes the directory.xml.win and directory.xml.linux files for both systems...
- 11:56 AM Base Language Support #1700: test the startup, basic processing and shutdown of the P2J server and P2J client o...
- The only change needed is to re-zip the update without the p2j/ prefix. Zip everything from inside the p2j/ director...
- 12:03 PM Database Feature #1594: add conversion and runtime support for CURRENT-CHANGED() built-in function
- I put aside all above and started with a fresh new idea. Please correct me if I'm wrong.
P2J is informed about cha... - 11:27 AM Base Language Feature #1590: implement PROPATH assignment
- Looks good.
The next step is to get it fully regression tested. This change affects both conversion and runtime, ... - 10:52 AM Base Language Feature #1590: implement PROPATH assignment
- Added revised update,
1. Corrected the Javadoc , hopefully I done most of the code formatting mistakes to remember t... - 09:48 AM Base Language Feature #1590: implement PROPATH assignment
- Feedback:
1. Please see the JavaDoc section of the doc.html section of the coding standards. Your EnvironmentOps.... - 10:11 AM Database Feature #1580: upgrade Hibernate to latest level
- It seems like using JPA-style positional parameters (?1, ?2, ?3, ...) would be much easier than changing conversion o...
- 08:37 AM Database Feature #1580: upgrade Hibernate to latest level
- Log file is full of this kind of warnings:...
- 09:27 AM Base Language Feature #1920: implement persistent procedures
- Agreed. You mean that the handle.isValid() should be overridden in phandle?
- 08:11 AM Base Language Feature #1920: implement persistent procedures
- I think the VALID-HANDLE function should be implemented too (it checks if a handle is valid), because after a DELETE ...
- 08:04 AM Conversion Tools Feature #1565 (Closed): test the full conversion process on Windows and document all problems tha...
Also available in: Atom