If you enable the preference to delete Java™ files, the migration tool deletes the Java files from your projects so that the Java files can be regenerated from the EGL source. This change affects only the Java files that are in the same project as the EGL code you are migrating. If you are generating the EGL code into a different project, manually delete those Java files.
The migration tool updates project classpaths to reflect new names and locations of JAR files; this update includes removing JAR files that are no longer used.
Changes the keyItem property on records with the relativeRecord stereotype to the recordNumItem property.
Changes the isNullable property to isSQLNullable.
| Old property and value | New property and value |
|---|---|
| protect = yes | protect = ProtectKind.protect |
| protect = no | protect = ProtectKind.noProtect |
| protect = skip | protect = ProtectKind.skipProtect |
| outline = box | outline = [OutlineKind.box] |
| outline = noOutline | outline = [OutlineKind.noOutline] |
| Old code | Migrated code |
|---|---|
| intval1 interval; | intval1 interval("yyyyMM"); |
sysLib.convert(myOrderRec, ConvertDirection.local, myConvTable);
Values
of "L" and "R" are changed to ConvertDirection.local and ConvertDirection.remote,
respectively.| Old code | Migrated code |
|---|---|
| isolationLevel | serializableTransaction |
| disconnectOption | explicit |
| Old code | Migrated code |
|---|---|
|
|
|
|
|
|
|
|
|
|
| Old code | Migrated code |
|---|---|
| result = round(x); | assign(x, result); |
| result = round(x, powerOfTen); | No change. |
| Old code | Migrated code |
|---|---|
| result = abs(x); | assign(abs(x), result); |
| result = pow(x, y); | assign(pow(x, y), result); |
| Old code | Migrated code |
|---|---|
| (byte)myVar | myVar as "java:byte" |
| (objId)myVar | myVar as "objId:java" |
| (null)"java.lang.Integer" | null as "java.lang.Integer" |
| Old code | Migrated code |
|---|---|
| result = stringAsInt(x); | result = x; |
| result = stringAsInt(x) + 5; | result = x as Int + 5; |
| result = stringAsFloat(x); | result = x; |
| result = stringAsFloat(x) + 5; | result = x as Float + 5; |
| result = stringAsDecimal(x); | result = x; |
| result = stringAsDecimal(x) + 5; | result = x as Decimal() + 5; |
| Old code | Migrated code |
|---|---|
| newArray string[]; | newArray string[0]; |
| Old code | Migrated code |
|---|---|
| newForm consoleFormType; | newForm consoleFormType{}; |
function doSomething (myParam int[] out)
...
end
The migration tool changes this function definition
to the following definition:function doSomething (myParam int[] out)
myParam = new int[];
...
end
The migration tool makes this change only for arrays
that have the out modifier.| Old code | Migrated code |
|---|---|
|
|
| Old code | Migrated code |
|---|---|
| set myVar NULL; | myVar = NULL; |
| myVar is NULL | myVar == NULL |
| Old code | Migrated code |
|---|---|
|
|
|
|
| Old code | Migrated code |
|---|---|
| if ( a in myArray[4] ) | if ( a in myArray from 4 ) |
If the preference to add web service elements to the deployment descriptor is enabled, the migration tool creates an EGL deployment descriptor in the EGLSource folder of the project and converts @EGLBinding and @WebBinding properties from the interfaces in the service binding libraries into service binding information in that deployment descriptor. The tool copies the WSDL file specified in the @WebBinding property to the EGLSource folder of the current project
If the preference to add the deployment descriptor to the build descriptors of the project is enabled, the migration tool sets the deploymentDescriptor build descriptor option to the name of the new deployment descriptor, which by default has the same name as the project.
If the preference to remove web service references from the J2EE deployment descriptor is enabled, the migration tool removes those references.
The tool updates ServiceLib.getWebEndPoint to and ServiceLib.setWebEndPoint to ServiceLib.setWebServiceLocation.
| Old code | Migrated code |
|---|---|
|
|
|
|
| Old code | Migrated code |
|---|---|
|
|
|
|
<h:selectOneMenu styleClass="selectOneMenu" id="menu1"
value="#{myPage.EGLmyComboBoxValue}">
<f:selectItems value="#{myPage.EGLmyComboBoxChoicesAsBoolean}"/>
</h:selectOneMenu>
The migration tool converts this
tag:<h:selectOneMenu styleClass="selectOneMenu" id="menu1"
value="#{myPage.myComboBoxValue}">
<f:selectItems value="#{myPage.myComboBoxChoices}"/>
</h:selectOneMenu>
#{beanName.variableName_Ref}
Where beanName is
the name of the page bean (by default, the same name as the JSF Handler)
and variableName is the
name of the variable that is referred to in the value attribute.v60ExceptionCompatibility = YES,
HandleHardIOErrors = NO,
ThrowNrfEofExceptions = YES