[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-1794) NullPointerException at Mapping Diagram
Max Andersen (JIRA)
jira-events at lists.jboss.org
Wed Apr 9 06:06:29 EDT 2008
[ http://jira.jboss.com/jira/browse/JBIDE-1794?page=all ]
Max Andersen updated JBIDE-1794:
--------------------------------
Fix Version/s: 2.1.0.beta1
(was: 2.1)
batch update of issues with 2.1 fix instead of the correct 2.1.b1
> 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.0.beta1
>
>
> 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