Release notes

Compuware OptimalJ 4.3.00_SP2

June 25, 2007


General Information
Last minute remarks
Additional Notes
Table of resolved bugs
Contacting Compuware Customer Support

General Information

OptimalJ release4.3.00_SP2
This release includes fixes made in4.3.00_SP2
Release dateJune 25, 2007
Supported Java versionSUN Java SE Development Kit 5.0 / 6.0
Supported Development platformsWindows2000, Windows/XP, Linux RedHat Enterprise Edition 4.0
back to top

Last minute remarks

Java SE 6.0 issues in OptimalJ Architecture Edition

Issue

OptimalJ 4.3 integrates with Eclipse 3.2.x. This release of Eclipse was released into general availability before Java SE 6 had been released. Eclipse announces support for Java 6 SE in combination with Eclipse 3.2.1 on their website.

During testing of OptimalJ Architecture Edition 4.3 built on Eclipse in combination with Java SE 6, we encountered an issue that is specific to this combination. The problem that occurred was a compilation error on java constructs used in the AE code, that are specific to Java JDK 1.4 and above.

After checking the Eclipse preferences, it turned out that Eclipse did notice that a Java SE 6 was used, but switched one of the compiler options to default to “old, pre JDK 1.4, behavior”. When switching this preference manually back to Java SE 5 or 6 behavior, all works well.

Resolution

The resolution is to set the Compiler Compliance Level to "5.0" or "6.0". (Windows->Preferences->Java->Compiler).

More information

For more information, please see the description of bug 35064 on this page: http://frontline.compuware.com/javacentral/members/bugs/default.asp

back to top

Additional Notes

Upgrading to a Maintenance Release

OptimalJ maintenance releases (such as service packs or releases with version number of the pattern #.#.0#) provide updates to generated code and the patterns applied to models. For more information, see the below table.

To take advantage of these changes, you must follow this procedure for each OptimalJ project when upgrading to the maintenance release:

  1. Open the project in the OptimalJ maintenance release, and choose Model > Update All Models.
  2. After Update All Models has completed, choose Model > Generate All > Code.

Version Control Systems

The MCR files used to map generated files to model elements are not stored in version control systems. These MCR files are required when upgrading to a maintenance release. Before upgrading to a maintenance release, you must restore these files by completing steps 1 and 2 in the old version of OptimalJ (Updating all models ensures that all models are synchronized, while generating code creates the MCR files). Then install the maintenance release and follow the procedure described above.

back to top

Table of resolved bugs

Bug number Severity Summary Reported version Fix version Description Release notes
36399 1-Critical 2 POD patterns missing for app. arch. without POD tp's 4.3.ITB1 4.3.00_SP2 It is not possible to add POD patterns
EjbProcessFromProcess and ApplicationFromProcess if you
have choosen an application architecture that does
not contain POD technology patterns.
At this point the list of technology patterns contains
only: ProcessFromProcessPattern and WebFromProcessPattern
Fixed.
36386 2-Major ClassCastException: BusinessFacades are put in the session using the same key 4.3.ITB1 4.3.00_SP2 ClassCastException when an businessfacade is added to a
List WEBComponent.
This issue has been fixed
36387 2-Major InvocationTargetException while generating web code in visitor pattern 4.3.ITB1 4.3.00_SP2 NullPointerException occurs when binding tabs to Query
Results.
Resolved.
36388 2-Major Unbound webhidden widget is missing id and name attributes 4.3.ITB1 4.3.00_SP2 The 'id' attribute is not generated for unbound WebHidden
types.
The 'id' attribute is now generated for unbound WebHidden
types.
36392 2-Major No code for WebRadioGroup for enum in struct 4.3.ITB1 4.3.00_SP2 No code is generated for a WebRadioGroup when its bound
attribute is a Struct.
WebRadioGroup now properly renders for an Enumeration in a
WebStruct.
35439 3-Normal OD: high multiplicity updateobject not copied automatically despite mapping 4.2.ITB1 4.3.00_SP2 Operation delegation: high multiplicity in parameter
doesn't get copied to back-end.
Fixed.
36087 3-Normal defining finder method in hibernate model, the generated query code does not match the finder method's definition 4.2.00_SP4 4.3.00_SP2 The hibernate named query is not correctly generated. TPL that generates the named query is improved.
36360 3-Normal Improvements for first and Last page iteration buttons 4.3.ITB1 4.3.00_SP2 Missing logic for First/Last page buttons to:
  a. bind the button to the respective PageIterator option
  b. enable/disable the First/Last buttons upon hitting
the First/Last page
Additional functionality provided.
36389 3-Normal getWebHidden() javascript function missing from alturawebgridpanel.js 4.3.ITB1 4.3.00_SP2 The JavaScript code for WebGridPanel left out
the WebHidden. All WebWidgets have a getWeb...() function
except for getWebHidden().
Added JavaScript code for
WebRepeatingPanel.prototype.getWebHidden
Total number of records: 9
back to top

Contacting Compuware Customer Support

Compuware Customer Support can assist you with all of your technical problems, from installation to troubleshooting.

Customer Support Address

USA Emea
Compuware Corporation
One Campus Martius
Detroit, Michigan 48226
USA

(800) 538-7822

Compuware Europe BV
Hoogoorddreef 5
1101 BA Amsterdam Z-O
The Netherlands

Toll Free +800 787 767 88
Local +31 20 3118850

Frontline support Web site

For technical assistance with Compuware products, log onto Compuware's Frontline support Web site. The first time you access Frontline, you are required to register and obtain a password.

Compuware Corporate Web Site

Refer to Compuware's corporate Web site at http://www.compuware.com for information about Compuware technical support policies and problem resolution process.

back to top


Generated at: Fri Jun 15 03:53:42 CEST 2007    (Build: 44337)

© 2008 Compuware Corporation. All rights reserved. Unpublished rights reserved under the Copyright Laws of the United States.