Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Taal2013-10-01 16:39:13 -0400
committerMartin Taal2013-10-01 16:39:13 -0400
commitefbac23a549191c76df16c28aa42ebbd08a76c40 (patch)
tree828090608b09683bbdc641c5e2cada3b84895208
parent08a70f3003688c8f4c132f81c26fe1706b1d3240 (diff)
downloadorg.eclipse.emf.teneo-efbac23a549191c76df16c28aa42ebbd08a76c40.tar.gz
org.eclipse.emf.teneo-efbac23a549191c76df16c28aa42ebbd08a76c40.tar.xz
org.eclipse.emf.teneo-efbac23a549191c76df16c28aa42ebbd08a76c40.zip
[417856] - XSDDateTime.deepCopyNotNull produces a copy that does not match the original, causing unnecessary updates
-rwxr-xr-xhibernate/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/mapping/XSDDateTime.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/hibernate/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/mapping/XSDDateTime.java b/hibernate/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/mapping/XSDDateTime.java
index 810f7c2c6..4648d5022 100755
--- a/hibernate/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/mapping/XSDDateTime.java
+++ b/hibernate/org.eclipse.emf.teneo.hibernate/src/org/eclipse/emf/teneo/hibernate/mapping/XSDDateTime.java
@@ -64,14 +64,13 @@ public class XSDDateTime extends MutableType {
}
/*
- * Copy the XMLGregorianCalendar object
+ * Just return the original value.
*
* @see org.hibernate.type.MutableType#deepCopyNotNull(java.lang.Object)
*/
@Override
public Object deepCopyNotNull(Object value) {
- return dataTypeFactory.newXMLGregorianCalendar(((XMLGregorianCalendar) value)
- .toGregorianCalendar());
+ return value;
}
/*

Back to the top