users
[Top] [All Lists]

Re: [cinjug-users] Hibernate and DB2 on OS/390

To: "Mike Ball" <mwball@xxxxxxxxx>
Subject: Re: [cinjug-users] Hibernate and DB2 on OS/390
From: Kumar <kumarkakani@xxxxxxxxx>
Date: Wed, 30 Jul 2008 16:24:03 -0400
Cc: b.mccullars@xxxxxxxxxxxxxxxxxx, "Scott Balmos" <sbalmos@xxxxxxxxxxx>, users@xxxxxxxxxx
Delivered-to: mailing list users@xxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=MQ4GeYTMvRWuIoAkMbHw9ShSYRk/Yp5Htqy32qaCjrw=; b=V8F4lsjOJKSc0Y4AiSdCpwDhetN4hxuQg+Ituq5f1xZ5Y1nDhZdJLkTXnVWBzGlngM PEWTgOGZfRMB/09WqgDDyiF86MhDFR/WiG0r9jUwLeJqexNMK4i+va5D05OlmnkiEBae tkj3ZtqfV3MndKrvwl0r1mQyGY9ErTmnRFa7Q=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=u1SwPnMs8DiyEh1Ns5zoIMIgqY+KLvYsC0Y3V0tAKYwDdr7VqQCATjWbfRd/st6w0h NiFkAz2MRNnB9+TLe5i+/oGmxUIFDT1OGgnSk1NB640fZu7OxlYdv4Ut91eZTjJPFvUR x/wALKpUReCLdiYtzSGqF3V8n3CI8+OUvmAYQ=
In-reply-to: <6f4a5d5a0807301242j3ac6fbe4jcd6fe72f46ecc74e@xxxxxxxxxxxxxx>
Mailing-list: contact users-help@xxxxxxxxxx; run by ezmlm
References: <6f4a5d5a0807301226r1580ff32idcb2326d2d7077d@xxxxxxxxxxxxxx> <20080730193905.UDZD16547.hrndva-omta01.mail.rr.com@brianup> <6f4a5d5a0807301242j3ac6fbe4jcd6fe72f46ecc74e@xxxxxxxxxxxxxx>
We ran into a similar situation. The DB2 version on windows (Dev environment) was supporting identity columns, but a similar version of DB2 on z\OS was not (We eventually ended up using UUIDs). Did you check to see that your DB2 version on OS/390 supports identity columns?

Kumar

On Wed, Jul 30, 2008 at 3:42 PM, Mike Ball <mwball@xxxxxxxxx> wrote:
We're using an identity on column and we've confirmed that it's there.
 The generator strategy is 'native', and for DB2 that means
identities.

On Wed, Jul 30, 2008 at 3:51 PM, Brian McCullars
<b.mccullars@xxxxxxxxxxxxxxxxxx> wrote:
> Sounds like the id is not being generated. What kind of generator are you
> using?
>
> Brian McCullars
> IT Consortium
> Phone   513-508-6776
> Fax     888-241-5613
> b.mccullars@xxxxxxxxxxxxxxxxxx
>
>
> -----Original Message-----
> From: Mike Ball [mailto:mwball@xxxxxxxxx]
> Sent: Wednesday, July 30, 2008 3:27 PM
> To: Scott Balmos
> Cc: users@xxxxxxxxxx
> Subject: Re: [cinjug-users] Hibernate and DB2 on OS/390
>
> Y, I saw that bug and when I turn on the SQL debugging I'm seeing the
> correct syntax, so I have the right dialect.  The identity just always comes
> back as zero, there exception I get is a Hibernate exception indicating
> there's a duplicate object on the session with the same identifier.
>
> I too, got weird email behavior.
>
> On Wed, Jul 30, 2008 at 2:55 PM, Scott Balmos <sbalmos@xxxxxxxxxxx> wrote:
>> I noticed your forum post over in the Hibernate support forums. It
>> indicates you're using 3.2.4 ... I'm wondering if, somehow, this is a
>> regression of the bug I link to below. Even though it says the fix is
>> in Hibernate 3.0 and later, it sounds exactly like your issue.
>>
>> http://opensource.atlassian.com/projects/hibernate/browse/HB-917
>>
>> --Scott
>>
>> On Wed, 30 Jul 2008 13:32:01 -0400, "Mike Ball" <mwball@xxxxxxxxx> said:
>>> Hey, We've got a client who's using DB2 on OS/390.
>>>
>>> Our code is a pretty normal Spring+Hibernate web application.  It
>>> works fine on DB2 NT, Oracle, Sql Server, etc.  But has problems with
>>> identities on OS/390.
>>>
>>> Does anyone out there use JDBC with OS/390?  Or even Hibernate with
>>> OS/390?  Did you have to do anything special to get it to work?
>>>
>>> Thanks,
>>>
>>> Mike
>>>
>>> ---------
>>> You may unsubscribe from this mailing list by sending a blank email
>>> addressed to:
>>> users-unsubscribe@xxxxxxxxxx
>>>
>>> --
>>> Find additional help by sending a blank email addressed to:
>>> users-help@xxxxxxxxxx
>>>
>>
>
> ---------
> You may unsubscribe from this mailing list by sending a blank email
> addressed to:
> users-unsubscribe@xxxxxxxxxx
>
> --
> Find additional help by sending a blank email addressed to:
> users-help@xxxxxxxxxx
>
>

---------
You may unsubscribe from this mailing list
by sending a blank email addressed to:
users-unsubscribe@xxxxxxxxxx

--
Find additional help by sending a blank email
addressed to:
users-help@xxxxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>