Skip to main content
summaryrefslogtreecommitdiffstats
path: root/jpa
diff options
context:
space:
mode:
authornhauge2010-05-05 22:16:22 +0000
committernhauge2010-05-05 22:16:22 +0000
commit7b7700268837debf262a374fe93d033a1ab41fc0 (patch)
tree0d67953119be4663e324ab6859981df14b307e7b /jpa
parented65af0bd47fcc080e341f88067470aa52d5ce24 (diff)
downloadwebtools.dali-7b7700268837debf262a374fe93d033a1ab41fc0.tar.gz
webtools.dali-7b7700268837debf262a374fe93d033a1ab41fc0.tar.xz
webtools.dali-7b7700268837debf262a374fe93d033a1ab41fc0.zip
311773 - minor change in logic to determine whether this strategy is truly set.
Diffstat (limited to 'jpa')
-rw-r--r--jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/jpa2/context/orm/GenericOrmIdDerivedIdentityStrategy2_0.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/jpa2/context/orm/GenericOrmIdDerivedIdentityStrategy2_0.java b/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/jpa2/context/orm/GenericOrmIdDerivedIdentityStrategy2_0.java
index 999255dab8..63943de42a 100644
--- a/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/jpa2/context/orm/GenericOrmIdDerivedIdentityStrategy2_0.java
+++ b/jpa/plugins/org.eclipse.jpt.core/src/org/eclipse/jpt/core/internal/jpa2/context/orm/GenericOrmIdDerivedIdentityStrategy2_0.java
@@ -75,7 +75,7 @@ public class GenericOrmIdDerivedIdentityStrategy2_0
}
public boolean isSpecified() {
- return this.resource.getId() != null;
+ return Boolean.TRUE.equals(this.resource.getId());
}
public void addStrategy() {

Back to the top