From 7ea424bf0b36d6be115976fa6134877116fc2dee Mon Sep 17 00:00:00 2001 From: "Kevin W. Sutter" Date: Fri, 9 Feb 2007 00:34:44 +0000 Subject: [PATCH] OPENJPA-139. Need to include JavaTypes.CALENDAR in the switch statement when attempting to attach a field of type CALENDAR. git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@505099 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/openjpa/kernel/AttachStrategy.java | 1 + 1 file changed, 1 insertion(+) diff --git a/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/AttachStrategy.java b/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/AttachStrategy.java index 26a9b0986..74176ad05 100644 --- a/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/AttachStrategy.java +++ b/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/AttachStrategy.java @@ -155,6 +155,7 @@ abstract class AttachStrategy set); break; case JavaTypes.DATE: + case JavaTypes.CALENDAR: case JavaTypes.NUMBER: case JavaTypes.BOOLEAN_OBJ: case JavaTypes.BYTE_OBJ: