[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-1794) NullPointerException at Mapping Diagram

Dima Geraskov (JIRA) jira-events at lists.jboss.org
Wed Feb 20 04:03:42 EST 2008


     [ http://jira.jboss.com/jira/browse/JBIDE-1794?page=all ]

Dima Geraskov resolved JBIDE-1794.
----------------------------------

    Resolution: Done

> NullPointerException at Mapping Diagram
> ---------------------------------------
>
>                 Key: JBIDE-1794
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-1794
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>            Reporter: Dima Geraskov
>         Assigned To: Dima Geraskov
>             Fix For: 2.1
>
>
> If  we have mapping when id class not  embedded in the entity NullPointer occured when you select id-property at the mapping diagramm.
> For ex:
> <class name="Customer">
> 		<composite-id class="CustomerId" mapped="true">
> 			<key-property name="orgName" column="org_name"/>
> 			<key-property name="customerName" column="cust_name"/>
> 		</composite-id>
> 	</class>
> (See "mapping.idclass" pack in test mapping project ).
> Persistance class for the property is null. (Properties view demands it).
> I'll change it to return null (when it threw NullPointerException).
> But for the Composite properties Diagram uses SpecialPersistanceClas, 
> as properties view demands it, we have here some inconsistency between shown Persistance class in Properties view and real Persistance class (think about Address object - properties view will show it like Persistance class for the street, but real persistance class is null).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list