Content
The following chapters describes the various things to know when migrating from version 10.x of i-net Crystal-Clear to version 11.x of i-net Clear Reports. If you migrating from older versions of i-net Crystal-Clear then you should read the other migration information depending on the version from that you migrate.
i-net Crystal-Clear has been renamed into i-net Clear Reports
The name of version 2011 (version 11.0) is now i-net Clear Reports.
Drop “Crystal”, focus on clear reports - simple name, simple yet powerful reporting: i-net Clear Reports.
Java 6 required
The i-net Designer and the i-net Clear Reports server now requires Java 6 as minimum version of the Java virtual machine. The i-net Clear Reports viewer requires Java 5.
Deprecated report URL parameters are no longer supported
The following deprecated report URL parameters are no longer supported: “dll”, “host”, “catalog”, “database”, “schema”, “user”, “url”. It is recommended to use the report URL parameter “datasource” instead.
Group Name Fields with Date format configurable
It is now possible to configure the group name field of a group on a date and/or time field in the “Property Editor” of the i-net Designer. In previous versions the group name field has displayed a string representation of the date depending on the date and/or time interval of the group. The system formats use the set time interval of the group, e.g. if the field was grouped on “each month” then the group name field contains month and year. With the custom format you can set this yourself.
API Changes
Removed deprecated Methods and Constants
The following methods had been deprecated for longer than 2 major versions and
have now been entirely removed in version 11 of i-net Clear Reports.
com.inet.designer.BasicDesignerDataModel
com.inet.designer.DesignerDataModel
com.inet.report.AbstractValueElement
getDateWindowsDefaultType() replaced by getDateFormatType()
setDateWindowsDefaultType(int) replaced by setDateFormatType(int)
getDateWindowsDefaultTypeFormula() replaced by getDateFormatTypeFormula()
setDateWindowsDefaultTypeFormula(FormulaField) replaced by setDateFormatTypeFormula(FormulaField)
setUseSystemDefaultFormat(boolean) replaced by the individual format type method
getUseSystemDefaultFormat() replaced by the individual format type method
setUseSystemDefaultFormatFormula(FormulaField) replaced by the individual format type method
getUseSystemDefaultFormatFormula() replaced by the individual format type method
com.inet.report.DatabaseTables
createDatasource(String,String,String,String,String,String) replaced by createDatasource(String)
createDatasource(String,String,String,String) replaced by createDatasource(String)
com.inet.report.Datasource
dll_connectionByConfiguration
getDll() replaced by getDataSourceConfigurationName()
setDll(String) replaced by setDataSourceConfigurationName(String)
com.inet.report.Element
com.inet.report.Engine
setPath(String, String, String) replaced by ConfigurationManager#setCurrent(com.inet.report.config.Configuration)
setPath(java.net.URL) replaced by ConfigurationManager#importFromStream(int, String, java.io.InputStream)
getGroupTree(int, int) replaced by #getGroupTree()
com.inet.report.GroupTree
com.inet.report.HyperlinkProperties
com.inet.report.RDC
getCrystalClearPropertyPath()
setConfigurationProperties(Properties)
getConfigurationProperties()
Use the following code sample to replace RDC.setConfigurationProperties(Properties p):
Configuration config = ConfigurationManager.getInstance().create( Configuration.SCOPE_TEMP, "xyz" );
config.putAll( props );
ConfigurationManager.getInstance().setCurrent( config );