[JBoss JIRA] (TEIIDDES-2460) JDBC Importer changes integer type to biginteger type when importing schema (reusing) from VDB
by Mark Drilling (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2460?page=com.atlassian.jira.plu... ]
Mark Drilling updated TEIIDDES-2460:
------------------------------------
Attachment: ErrorDialog.png
> JDBC Importer changes integer type to biginteger type when importing schema (reusing) from VDB
> -----------------------------------------------------------------------------------------------
>
> Key: TEIIDDES-2460
> URL: https://issues.jboss.org/browse/TEIIDDES-2460
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export
> Reporter: Barry LaFond
> Assignee: Mark Drilling
> Fix For: 9.1, 9.0.2
>
> Attachments: ErrorDialog.png
>
>
> When the JDBC importer is used to import a schema from an existing VDB integer types will be converted into biginterger types. This error is similar to Bug 1026892 except no exception is raised
> Version-Release number of selected component (if applicable):
> Actual results:
> Imported schema has changed integer data type to biginteger data type.
> Expected results:
> Imported schema will be identical to original schema.
> Additional info:
> Imported schema is so long as the JPA entity reflects the biginteger type. This is problematic because now two separate JPA entities are needed, one for the original schema and another for the imported schema.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 9 months
[JBoss JIRA] (TEIIDDES-2460) JDBC Importer changes integer type to biginteger type when importing schema (reusing) from VDB
by Mark Drilling (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2460?page=com.atlassian.jira.plu... ]
Mark Drilling commented on TEIIDDES-2460:
-----------------------------------------
When attempting to import the VDB, I am running into the Server version issue that [~blafond] is currently working. See attached dialog screenshot.
This is the server exception
{noformat}
!ENTRY org.teiid.designer.jdbc.ui 4 0 2015-04-06 09:38:21.917
!MESSAGE For input string: "x"
!STACK 0
java.lang.NumberFormatException: For input string: "x"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:492)
at java.lang.Integer.parseInt(Integer.java:527)
at org.teiid.jdbc.TeiidDriver.getMajorVersion(TeiidDriver.java:153)
at org.teiid.jdbc.DatabaseMetaDataImpl.getDatabaseProductVersion(DatabaseMetaDataImpl.java:742)
at org.teiid.designer.jdbc.metadata.impl.JdbcDatabaseImpl.loadDatabaseInfo(JdbcDatabaseImpl.java:422)
at org.teiid.designer.jdbc.metadata.impl.JdbcDatabaseImpl.getDatabaseInfo(JdbcDatabaseImpl.java:240)
at org.teiid.designer.jdbc.metadata.impl.JdbcDatabaseImpl.selectDefaultNodes(JdbcDatabaseImpl.java:565)
{noformat}
> JDBC Importer changes integer type to biginteger type when importing schema (reusing) from VDB
> -----------------------------------------------------------------------------------------------
>
> Key: TEIIDDES-2460
> URL: https://issues.jboss.org/browse/TEIIDDES-2460
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export
> Reporter: Barry LaFond
> Assignee: Mark Drilling
> Fix For: 9.1, 9.0.2
>
> Attachments: ErrorDialog.png
>
>
> When the JDBC importer is used to import a schema from an existing VDB integer types will be converted into biginterger types. This error is similar to Bug 1026892 except no exception is raised
> Version-Release number of selected component (if applicable):
> Actual results:
> Imported schema has changed integer data type to biginteger data type.
> Expected results:
> Imported schema will be identical to original schema.
> Additional info:
> Imported schema is so long as the JPA entity reflects the biginteger type. This is problematic because now two separate JPA entities are needed, one for the original schema and another for the imported schema.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 9 months
[JBoss JIRA] (TEIIDDES-2472) Bad dialog layout for import VDB
by Mark Drilling (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2472?page=com.atlassian.jira.plu... ]
Mark Drilling updated TEIIDDES-2472:
------------------------------------
Attachment: VDBImportLayout.png
> Bad dialog layout for import VDB
> --------------------------------
>
> Key: TEIIDDES-2472
> URL: https://issues.jboss.org/browse/TEIIDDES-2472
> Project: Teiid Designer
> Issue Type: Bug
> Components: Dialogs
> Affects Versions: 9.0
> Reporter: Mark Drilling
> Attachments: VDBImportLayout.png
>
>
> When using the JDBC importer, to import a VDB - there are dialog layout issues.
> 1) under 'Teiid VDB Source Options', the initial wrapping of the message is incorrect. if you resize the dialog it seems to snap into a better layout. (see attached screenshot)
> 2) Resizing the dialog vertically hides the lower components on the panel, may be a problem with lower screen resolutions. The panel should possibly be in a scrollPanel to prevent the components from being hidden.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 9 months
[JBoss JIRA] (TEIIDDES-2472) Bad dialog layout for import VDB
by Mark Drilling (JIRA)
Mark Drilling created TEIIDDES-2472:
---------------------------------------
Summary: Bad dialog layout for import VDB
Key: TEIIDDES-2472
URL: https://issues.jboss.org/browse/TEIIDDES-2472
Project: Teiid Designer
Issue Type: Bug
Components: Dialogs
Affects Versions: 9.0
Reporter: Mark Drilling
Attachments: VDBImportLayout.png
When using the JDBC importer, to import a VDB - there are dialog layout issues.
1) under 'Teiid VDB Source Options', the initial wrapping of the message is incorrect. if you resize the dialog it seems to snap into a better layout. (see attached screenshot)
2) Resizing the dialog vertically hides the lower components on the panel, may be a problem with lower screen resolutions. The panel should possibly be in a scrollPanel to prevent the components from being hidden.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 9 months
[JBoss JIRA] (TEIIDDES-2471) Assertion error trying to Delete a file
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2471?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-2471:
-----------------------------------
Fix Version/s: 9.2
> Assertion error trying to Delete a file
> ---------------------------------------
>
> Key: TEIIDDES-2471
> URL: https://issues.jboss.org/browse/TEIIDDES-2471
> Project: Teiid Designer
> Issue Type: Bug
> Components: Modeling
> Affects Versions: 9.0
> Reporter: Barry LaFond
> Assignee: Paul Richardson
> Fix For: 9.2
>
>
> When deleting a VDB in a model project, it'll fail if you click *Preview*, then *Back*, then *OK*
> Stack trace is below and it appears that by Previewing the a refactor action (Delete in this case) and clicking *Back* does not clear the original *change*, so clicking *OK* ends up trying to apply duplicate changes. I tested the Preview/Back a couple of times and verified it's adding a duplicate change each time.
> {code}
> org.eclipse.core.runtime.CoreException: assertion failed: DeleteResourcesRefactoring class is adding a
> at org.teiid.designer.ui.refactor.delete.DeleteResourcesRefactoring.createChange(DeleteResourcesRefactoring.java:232)
> at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:124)
> at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:209)
> at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
> at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
> !SUBENTRY 1 org.teiid.designer.ui.refactor.delete 4 0 2015-04-06 08:26:20.007
> !MESSAGE assertion failed:
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 9 months
[JBoss JIRA] (TEIIDDES-2471) Assertion error trying to Delete a file
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2471?page=com.atlassian.jira.plu... ]
RH Bugzilla Integration updated TEIIDDES-2471:
----------------------------------------------
Bugzilla Update: Perform
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1208027
> Assertion error trying to Delete a file
> ---------------------------------------
>
> Key: TEIIDDES-2471
> URL: https://issues.jboss.org/browse/TEIIDDES-2471
> Project: Teiid Designer
> Issue Type: Bug
> Components: Modeling
> Affects Versions: 9.0
> Reporter: Barry LaFond
> Assignee: Paul Richardson
> Fix For: 9.2
>
>
> When deleting a VDB in a model project, it'll fail if you click *Preview*, then *Back*, then *OK*
> Stack trace is below and it appears that by Previewing the a refactor action (Delete in this case) and clicking *Back* does not clear the original *change*, so clicking *OK* ends up trying to apply duplicate changes. I tested the Preview/Back a couple of times and verified it's adding a duplicate change each time.
> {code}
> org.eclipse.core.runtime.CoreException: assertion failed: DeleteResourcesRefactoring class is adding a
> at org.teiid.designer.ui.refactor.delete.DeleteResourcesRefactoring.createChange(DeleteResourcesRefactoring.java:232)
> at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:124)
> at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:209)
> at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
> at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
> !SUBENTRY 1 org.teiid.designer.ui.refactor.delete 4 0 2015-04-06 08:26:20.007
> !MESSAGE assertion failed:
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 9 months
[JBoss JIRA] (TEIIDDES-2471) Assertion error trying to Delete a file
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2471?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-2471:
-----------------------------------
Description:
When deleting a VDB in a model project, it'll fail if you click *Preview*, then *Back*, then *OK*
Stack trace is below and it appears that by Previewing the a refactor action (Delete in this case) and clicking *Back* does not clear the original *change*, so clicking *OK* ends up trying to apply duplicate changes. I tested the Preview/Back a couple of times and verified it's adding a duplicate change each time.
{code}
org.eclipse.core.runtime.CoreException: assertion failed: DeleteResourcesRefactoring class is adding a
at org.teiid.designer.ui.refactor.delete.DeleteResourcesRefactoring.createChange(DeleteResourcesRefactoring.java:232)
at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:124)
at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:209)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
!SUBENTRY 1 org.teiid.designer.ui.refactor.delete 4 0 2015-04-06 08:26:20.007
!MESSAGE assertion failed:
{code}
was:
When deleting a VDB in a model project, it'll fail if you click *Preview*, then *Back*, then *OK*
Stack trace is below and it appears that by Previewing the
{code}
org.eclipse.core.runtime.CoreException: assertion failed: DeleteResourcesRefactoring class is adding a
at org.teiid.designer.ui.refactor.delete.DeleteResourcesRefactoring.createChange(DeleteResourcesRefactoring.java:232)
at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:124)
at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:209)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
!SUBENTRY 1 org.teiid.designer.ui.refactor.delete 4 0 2015-04-06 08:26:20.007
!MESSAGE assertion failed:
{code}
> Assertion error trying to Delete a file
> ---------------------------------------
>
> Key: TEIIDDES-2471
> URL: https://issues.jboss.org/browse/TEIIDDES-2471
> Project: Teiid Designer
> Issue Type: Bug
> Components: Modeling
> Affects Versions: 9.0
> Reporter: Barry LaFond
> Assignee: Paul Richardson
>
> When deleting a VDB in a model project, it'll fail if you click *Preview*, then *Back*, then *OK*
> Stack trace is below and it appears that by Previewing the a refactor action (Delete in this case) and clicking *Back* does not clear the original *change*, so clicking *OK* ends up trying to apply duplicate changes. I tested the Preview/Back a couple of times and verified it's adding a duplicate change each time.
> {code}
> org.eclipse.core.runtime.CoreException: assertion failed: DeleteResourcesRefactoring class is adding a
> at org.teiid.designer.ui.refactor.delete.DeleteResourcesRefactoring.createChange(DeleteResourcesRefactoring.java:232)
> at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:124)
> at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:209)
> at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
> at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
> !SUBENTRY 1 org.teiid.designer.ui.refactor.delete 4 0 2015-04-06 08:26:20.007
> !MESSAGE assertion failed:
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 9 months
[JBoss JIRA] (TEIIDDES-2471) Assertion error trying to Delete a file
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2471?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-2471:
-----------------------------------
Description:
When deleting a VDB in a model project, it'll fail if you click *Preview*, then *Back*, then *OK*
Stack trace is below and it appears that by Previewing the
{code}
org.eclipse.core.runtime.CoreException: assertion failed: DeleteResourcesRefactoring class is adding a
at org.teiid.designer.ui.refactor.delete.DeleteResourcesRefactoring.createChange(DeleteResourcesRefactoring.java:232)
at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:124)
at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:209)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
!SUBENTRY 1 org.teiid.designer.ui.refactor.delete 4 0 2015-04-06 08:26:20.007
!MESSAGE assertion failed:
{code}
> Assertion error trying to Delete a file
> ---------------------------------------
>
> Key: TEIIDDES-2471
> URL: https://issues.jboss.org/browse/TEIIDDES-2471
> Project: Teiid Designer
> Issue Type: Bug
> Components: Modeling
> Affects Versions: 9.0
> Reporter: Barry LaFond
> Assignee: Paul Richardson
>
> When deleting a VDB in a model project, it'll fail if you click *Preview*, then *Back*, then *OK*
> Stack trace is below and it appears that by Previewing the
> {code}
> org.eclipse.core.runtime.CoreException: assertion failed: DeleteResourcesRefactoring class is adding a
> at org.teiid.designer.ui.refactor.delete.DeleteResourcesRefactoring.createChange(DeleteResourcesRefactoring.java:232)
> at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:124)
> at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:209)
> at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
> at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
> !SUBENTRY 1 org.teiid.designer.ui.refactor.delete 4 0 2015-04-06 08:26:20.007
> !MESSAGE assertion failed:
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 9 months