[teiid-issues] [JBoss JIRA] Commented: (TEIID-1063) PropertyDefinition.getPropertyTypeClassName() Should Always Return A Java Class Name

Dan Florian (JIRA) jira-events at lists.jboss.org
Thu Apr 22 16:08:10 EDT 2010


    [ https://jira.jboss.org/jira/browse/TEIID-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12527126#action_12527126 ] 

Dan Florian commented on TEIID-1063:
------------------------------------

There are also other non-primitive types being returned as properties. Here are 3 I've seen:

1. name=metadata, display name=DBMSMetatadata, type=org.jboss.resource.metadata.mcf.DBMSMetaData
2. name=config-property, display name=managedConnectionFactoryProperties, type=java.util.Map
3. name=security-domain, display name=securityMetaData, type=org.jboss.resource.metadata.mcf.SecurityMetaData

These look like they might correspond to groupings of properties in JON but I'm not sure.

> PropertyDefinition.getPropertyTypeClassName() Should Always Return A Java Class Name
> ------------------------------------------------------------------------------------
>
>                 Key: TEIID-1063
>                 URL: https://jira.jboss.org/jira/browse/TEIID-1063
>             Project: Teiid
>          Issue Type: Bug
>    Affects Versions: 7.0
>            Reporter: Dan Florian
>            Assignee: Steven Hawkins
>             Fix For: 7.0
>
>
> PropertyDefinition.getPropertyTypeClassName() return value is inconsistent. Sometimes it is returning the primitive type name and other times it is returning the Java Class Name. For instance, the "prefill" property returns "java.lang.Boolean" whilst the "use-java-context" property returns "boolean." I have noticed the same issue with integer types so I assume all types have the same issue. This method should always return the Java Class Name.

-- 
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

        


More information about the teiid-issues mailing list