Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 107938 Details for
Bug 232881
npe adding mapping to xml Embeddable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
proposed patch - HEAD
232881.txt (text/plain), 1.11 KB, created by
Karen Butzke
on 2008-07-21 09:34:01 EDT
(
hide
)
Description:
proposed patch - HEAD
Filename:
MIME Type:
Creator:
Karen Butzke
Created:
2008-07-21 09:34:01 EDT
Size:
1.11 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jpt.core >Index: src/org/eclipse/jpt/core/internal/context/orm/GenericOrmPersistentType.java >=================================================================== >RCS file: /cvsroot/webtools/org.eclipse.jpa/components/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/context/orm/GenericOrmPersistentType.java,v >retrieving revision 1.28 >diff -u -r1.28 GenericOrmPersistentType.java >--- src/org/eclipse/jpt/core/internal/context/orm/GenericOrmPersistentType.java 9 Jul 2008 01:11:54 -0000 1.28 >+++ src/org/eclipse/jpt/core/internal/context/orm/GenericOrmPersistentType.java 21 Jul 2008 13:31:06 -0000 >@@ -261,7 +261,13 @@ > return new FilteringIterator<OrmPersistentAttribute, OrmPersistentAttribute>(attributes()) { > @Override > protected boolean accept(OrmPersistentAttribute o) { >- return attributeName.equals(o.getName()); >+ if (attributeName == null && o.getName() == null) { >+ return true; >+ } >+ if (attributeName != null && attributeName.equals(o.getName())) { >+ return true; >+ } >+ return false; > } > }; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 232881
: 107938