import from Designer crashes with IMAGE data type
beatrizApr 28 2011 — edited Apr 29 2011Hello,
I'd like to report an issue with Data Modeler while importing from Oracle Designer. If you consider this a bug, please let me know if I need to do anything else to request a fix for it.
I've used the import > Oracle Designer Model tool to import an application model. The import runs fine for a while, then crashes with a message "There are errors in import - check log file".
The application to be imported has 509 domains, 963 entities to import.
The summary info displayed after the import (when I close the error message pop up) is:
All statements: 1472
Imported statements: 538
Failed statements: 0
Not recognized statements: 934
The log file has the lines below:
2011-04-28 10:55:46,505 [Thread-8] ERROR XMLTransformationManager - Unable to load object from XML: C:\Users\Beatriz\Documents\ODTUG\2011\SDDM designs\GAME\GAME\rel\0EEBE15E-D9EFB22E4D6B\subviews\02A206F8-0C6C-0DF9-E643-5919DBCB895A.xml
java.io.FileNotFoundException: C:\Users\Beatriz\Documents\ODTUG\2011\SDDM designs\GAME\GAME\rel\0EEBE15E-D9EFB22E4D6B\subviews\02A206F8-0C6C-0DF9-E643-5919DBCB895A.xml (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at oracle.dbtools.crest.model.metadata.XMLToObjectTransformer.transformToObject(Unknown Source)
at oracle.dbtools.crest.model.metadata.XMLTransformationManager.transformFromXMLToObject(Unknown Source)
at oracle.dbtools.crest.model.metadata.XMLTransformationManager.openDesignPart(Unknown Source)
at oracle.dbtools.crest.model.design.Design.openDesign(Unknown Source)
at oracle.dbtools.crest.swingui.ControllerApplication$Recent$1.run(Unknown Source)
2011-04-28 11:03:44,114 [Thread-12] WARN ODODomain - ODOType.initStructuredTypeAttributes() - Unable to find Logical DataType for: IMAGE
2011-04-28 11:03:46,532 [Thread-12] ERROR ODExtractionHandler - Error during import from Designer Repository
java.sql.SQLException: Numeric Overflow
at oracle.jdbc.driver.NumberCommonAccessor.throwOverflow(NumberCommonAccessor.java:4380)
at oracle.jdbc.driver.NumberCommonAccessor.getInt(NumberCommonAccessor.java:111)
at oracle.jdbc.driver.OracleResultSetImpl.getInt(OracleResultSetImpl.java:928)
at oracle.jdbc.driver.OracleResultSet.getInt(OracleResultSet.java:434)
at oracle.dbtools.crest.imports.oracledesigner.logical.ODOEntity.generate(Unknown Source)
at oracle.dbtools.crest.imports.oracledesigner.ODExtractionHandler.generateDesign(Unknown Source)
at oracle.dbtools.crest.imports.oracledesigner.ODExtractionController$Runner.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)
I see the issue with the IMAGE data type in the log. The model to be imported does have domains and entities using this data type. The domain actually did get imported, but it shows as "Unknown" logical type, even though there is an Image type available in the Data Modeler type list. None of the entities using IMAGE got imported.
Please let me know if you can provide a fix or workaround for this (other than changing the format in Designer).
Thank you,
Beatriz.