[
https://issues.jboss.org/browse/TEIIDDES-3080?page=com.atlassian.jira.plu...
]
Steve Tran updated TEIIDDES-3080:
---------------------------------
Description:
I'm trying to do a Teiid Connection Import. I already have a VDB deployed locally, so
I select it and walk through the prompts. The screen where it actually does the work
threw a NumberFormatException because the VDB I'm trying to import has a strange data
field definition. All the BigDecimal fields have a precision of 0 and a scale of -127.
Teiid Designer imported them like that for some reason.
The negative symbol on the -127 is where it choked on. I pressed back and exported the
DDL file to my workspace, did a search and replace of -127 to 0, then did a DDL import
from my updated file. It worked that time around. Not sure if the DDL Import and the
Teiid Connection Import are using the same lines of code (it looks like it might be
though), so this might not be an accurate diagnosis.
The bug can be why did it import -127, or why did it choke on the negative field.
Teiid Connection Import throwing NumberFormatException
------------------------------------------------------
Key: TEIIDDES-3080
URL:
https://issues.jboss.org/browse/TEIIDDES-3080
Project: Teiid Designer
Issue Type: Bug
Components: Import/Export
Affects Versions: 10.1
Environment: Windows 7
JBoss Developer Studio 10.3.0.GA
Teiid Designer 10.2.0.GA
Reporter: Steve Tran
I'm trying to do a Teiid Connection Import. I already have a VDB deployed locally,
so I select it and walk through the prompts. The screen where it actually does the work
threw a NumberFormatException because the VDB I'm trying to import has a strange data
field definition. All the BigDecimal fields have a precision of 0 and a scale of -127.
Teiid Designer imported them like that for some reason.
The negative symbol on the -127 is where it choked on. I pressed back and exported the
DDL file to my workspace, did a search and replace of -127 to 0, then did a DDL import
from my updated file. It worked that time around. Not sure if the DDL Import and the
Teiid Connection Import are using the same lines of code (it looks like it might be
though), so this might not be an accurate diagnosis.
The bug can be why did it import -127, or why did it choke on the negative field.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)