[
https://issues.jboss.org/browse/TEIIDDES-2234?page=com.atlassian.jira.plu...
]
Barry LaFond edited comment on TEIIDDES-2234 at 7/21/14 11:04 AM:
------------------------------------------------------------------
org.teiid.designer.xsd.ui.editor.FacetHelper hard-codes the max limit:
public static final int DEFAULT_MAX_BOUNDS = 999999;
public static final int DEFAULT_MIN_BOUNDS = -DEFAULT_MAX_BOUNDS;
Not sure what our limit should be... suggestions?
Java stores all integers in memory as binary numbers.
name bytes bits minimum maximum
byte 1 8 -128 +127
short 2 16 -32,768 +32,767
int 4 32 -2,147,483,648 +2,147,483,647
long 8 64 -9,223,372,036,854,775,808 +9,223,372,036,854,775,807
was (Author: blafond):
org.teiid.designer.xsd.ui.editor.FacetHelper hard-codes the max limit:
public static final int DEFAULT_MAX_BOUNDS = 999999;
public static final int DEFAULT_MIN_BOUNDS = -DEFAULT_MAX_BOUNDS;
Not sure what our limit should be... suggestions?
Unable to set numeric bounds to values greater than 999999
----------------------------------------------------------
Key: TEIIDDES-2234
URL:
https://issues.jboss.org/browse/TEIIDDES-2234
Project: Teiid Designer
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Modeling
Affects Versions: 8.3.3
Environment: JBoss Developer Studio 7 on Mac OS X Mavericks
Reporter: Sean Haynes
Creating a XSD Simple Type Model in the TEIID editor. Numeric values (tried integer,
decimal, and float types) do not allow bounds to be set greater 999,999. If the XSD is
edited manually, the designer will revert the value back to 999,999 if you click on the
type that has manually edited value.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)