[
https://jira.jboss.org/jira/browse/TEIIDDES-156?page=com.atlassian.jira.p...
]
Barry LaFond resolved TEIIDDES-156.
-----------------------------------
Resolution: Done
- Fixed URI call in ConnectorBindingImportPostProcessor.
- Added simplified FileUtils.copy() call to use File args.
- Removed Add Folder and Add External Folder from JdbcDriverWizard. This was NOT ever
going to be supported by Teiid Server and the driver jars would ultimately have to be used
by our Designer Connector framework. (i.e. copied over to the .metadata/xxx/connectors
folder internally for classpath construction and DQP loading.
- Also fixed the URI construction in JdbcDriverWizard to always create a
"valid" URI. This was busted like the auto-connector logic. Needed
OS-independent URIs.
Reviewed by Ramesh.
Error post processing import (extension class=class
com.metamatrix.modeler.internal.dqp.ui.jdbc.ConnectorBindingImportPostProcessor)
------------------------------------------------------------------------------------------------------------------------------------
Key: TEIIDDES-156
URL:
https://jira.jboss.org/jira/browse/TEIIDDES-156
Project: Teiid Designer
Issue Type: Bug
Components: Import/Export
Affects Versions: 6.0.0
Environment: Teiid Designer on Windows importing Oracle
Reporter: Warren Gibson
Assignee: Barry LaFond
Priority: Blocker
Fix For: 6.0.0
Imported Books Oracle and received a Stack Trace:
java.net.MalformedURLException: unknown protocol: d
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at
com.metamatrix.modeler.internal.dqp.ui.jdbc.ConnectorBindingImportPostProcessor.postProcess(ConnectorBindingImportPostProcessor.java:157)
at
com.metamatrix.modeler.internal.jdbc.ui.wizards.JdbcImportWizard.runFinish(JdbcImportWizard.java:691)
at
com.metamatrix.modeler.internal.jdbc.ui.wizards.JdbcImportWizard$1.run(JdbcImportWizard.java:262)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
The imported tables appeared in the Modeler Explorer but I am unable to preview them.
Basically, the jars imported via Driver dialog are not getting a proper URL saved in the
jdbcModel.xmi file.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira