Return-Path: X-Original-To: apmail-deltaspike-users-archive@www.apache.org Delivered-To: apmail-deltaspike-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8E10410E3A for ; Sat, 28 Dec 2013 05:32:07 +0000 (UTC) Received: (qmail 16940 invoked by uid 500); 28 Dec 2013 05:32:04 -0000 Delivered-To: apmail-deltaspike-users-archive@deltaspike.apache.org Received: (qmail 16806 invoked by uid 500); 28 Dec 2013 05:32:00 -0000 Mailing-List: contact users-help@deltaspike.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@deltaspike.apache.org Delivered-To: mailing list users@deltaspike.apache.org Received: (qmail 16798 invoked by uid 99); 28 Dec 2013 05:31:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Dec 2013 05:31:58 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [209.85.223.170] (HELO mail-ie0-f170.google.com) (209.85.223.170) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Dec 2013 05:31:52 +0000 Received: by mail-ie0-f170.google.com with SMTP id qd12so10520342ieb.29 for ; Fri, 27 Dec 2013 21:31:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=5Wulhf6cSb5bjGgDcWqXVCyb6moL7ZsvF2m0V+DTQDc=; b=kntW1PlkS+KqGcqAHCHA7an7HetfkrRHLJARVEarG6q/VsyN+KG5RncC5CE6EgbGqt UB3jkt5sB042el4yZhlTV8X9VokbTpWvqQEzAKIVlDlRo/apJ+5rlorueqivxJlTaD/x X0X6BEhapfEtMY9VmTHtJOeHU72vDD5ba36yifAsdrfdnvjwgKbb7FcZvRaCy8x9zSle qByw2aDMacIh8WFYayEVWg9yo9EiqhZnZSK5LUAQ3enP5L5DOTk1XXeXNcUWWT2DoqUz Kkjk3LFWNe8kEgsuRdTypz/jKwXbuLkUP2FrQyFKIhlm2byljgbvP51+EU9+KSb/uObt uKPA== X-Gm-Message-State: ALoCoQk+7UttmdHR0oZuQ4IvxrRDP3dChokFR35JYXZxMeHzJ1E7qH5USaY+kAPBkmFM68UcMoz1 MIME-Version: 1.0 X-Received: by 10.50.77.83 with SMTP id q19mr43182182igw.21.1388208690445; Fri, 27 Dec 2013 21:31:30 -0800 (PST) Received: by 10.42.94.68 with HTTP; Fri, 27 Dec 2013 21:31:30 -0800 (PST) X-Originating-IP: [67.165.61.221] In-Reply-To: References: <1388180431519.2e36af6a@Nodemailer> Date: Sat, 28 Dec 2013 00:31:30 -0500 Message-ID: Subject: Re: data module From: Walter White To: users@deltaspike.apache.org Content-Type: multipart/alternative; boundary=047d7bdca504de583a04ee918567 X-Virus-Checked: Checked by ClamAV on apache.org --047d7bdca504de583a04ee918567 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable It looks like glassfish and arquillian are correct, it appears to be an issue with .equals and .hashCode. I found this out by starting from scratch without a custom implementation for .equals and .hashCode which is what eclipselink uses to determine if the entity is the same or not. This might be a good item for the FAQ or at least my FAQ. Thanks, Walter On Fri, Dec 27, 2013 at 4:43 PM, Walter White wrote: > Ok, I'll try that after I check my configuration. I will update/check > persistence.xml to ensure it is properly configured, then test with > arquillian. > > > On Fri, Dec 27, 2013 at 4:40 PM, Jason Porter wr= ote: > >> Can you recreate with an Arquillian test to see if it's just glassfish?= =97 >> Sent from Mailbox for iPhone >> >> On Fri, Dec 27, 2013 at 1:35 PM, Walter White >> wrote: >> >> > Hi, >> > I am having issues when using the deltaspike data module to persist >> > entities: >> > >> http://stackoverflow.com/questions/20722811/apache-delta-spike-queryinvo= cationcontext >> > I am using glassfish with JTA, with parent-child relationships, it >> appears >> > it will attempt to insert 2 entities which results in a constraint >> error. >> > I confirmed the duplicate inserts via wireshark and can confirm 2 inse= rt >> > statements are sent. >> > I'm hoping for some direction, perhaps it is a configuration issue. >> > Walter >> > > --047d7bdca504de583a04ee918567--