Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 77851 invoked from network); 24 Feb 2011 15:21:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Feb 2011 15:21:55 -0000 Received: (qmail 56407 invoked by uid 500); 24 Feb 2011 15:07:31 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 56033 invoked by uid 500); 24 Feb 2011 15:07:11 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 55776 invoked by uid 99); 24 Feb 2011 15:07:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Feb 2011 15:06:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Feb 2011 15:06:58 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 74CC81950D9 for ; Thu, 24 Feb 2011 15:06:38 +0000 (UTC) Date: Thu, 24 Feb 2011 15:06:38 +0000 (UTC) From: =?utf-8?Q?Vedran_Vidovi=C4=87_=28JIRA=29?= To: dev@openjpa.apache.org Message-ID: <1234056440.13605.1298559998459.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <460896240.13341.1298551125986.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (OPENJPA-1951) missing key "cant-set-value" in localizer properties org.apache.openjpa.jdbc.meta.strats MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OPENJPA-1951?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12= 998880#comment-12998880 ]=20 Vedran Vidovi=C4=87 commented on OPENJPA-1951: ----------------------------------------- Unfortunately an OpenJPA 2.1.x CAN'T be used with jdk 1.5, here is a simple= test which can prove that: java -cp openjpa-jdbc-2.1.0.jar org.apache.openjpa.jdbc.meta.MappingTool The java class could not be loaded. java.lang.UnsupportedClassVersionError:= (org/apache/openjpa/jdbc/meta/MappingTool) bad major version at offset=3D6 And this stops us from using it in current project :( > missing key "cant-set-value" in localizer properties org.apache.openjpa.j= dbc.meta.strats > -------------------------------------------------------------------------= --------------- > > Key: OPENJPA-1951 > URL: https://issues.apache.org/jira/browse/OPENJPA-1951 > Project: OpenJPA > Issue Type: Bug > Components: jdbc > Affects Versions: 2.0.1 > Reporter: Vedran Vidovi=C4=87 > Assignee: Michael Dick > Fix For: 2.0.2, 2.1.0, 2.2.0 > > > Key cant-set-value is missing in properties file org.apache.openjpa.jdbc.= meta.strats in openjpa-jdbc-2.0.1.jar so we don't get descriptive message i= n case this exception occurs. > To reproduce it set some field as not nullable in jpa and try to update i= t with null value. --=20 This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira