users
[Top] [All Lists]

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

To: b.mccullars@xxxxxxxxxxxxxxxxxx
Subject: Re: [cinjug-users] Hibernate and DB2 on OS/390
From: "Mike Ball" <mwball@xxxxxxxxx>
Date: Wed, 30 Jul 2008 15:42:51 -0400
Cc: "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 :content-transfer-encoding:content-disposition:references; bh=YUlbEyrrWl+DYzvQ/wo3audeW51wQtuA+vPJN8UDvig=; b=vXc9uSvtU2k717YeN2B5nlt5kfpDP0oOJOdfA+tEqxQD/ZU/EhBt8u9F7KYv8/QmZK dHfMAiW4tXAolAZu4Ab/xi4sZQ34Viwct/v6TtBwKH31ShYLHZvF0xf1liH5zjz6MSU+ 2RAYBa/oGq2fHLPkq8WAvZayS7NkPWrdT9YQQ=
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:content-transfer-encoding:content-disposition :references; b=qM1a3euSE9WYAAEE0rv0nQSDb3ny6tvi6jYO8eIiJ28ApZHOh5PGS3e/MghtlKu7e/ JvI4mlmotvQItZOKoVm41uIKwQW2AVmVMZV0osskjdqpxEQN9ZjvVKyCGNPrt7Hv28Sn FKvCrkJak7dck1YHgprxTSB+R5vk9Nj25figE=
In-reply-to: <20080730193905.UDZD16547.hrndva-omta01.mail.rr.com@brianup>
Mailing-list: contact users-help@xxxxxxxxxx; run by ezmlm
References: <6f4a5d5a0807301226r1580ff32idcb2326d2d7077d@xxxxxxxxxxxxxx> <20080730193905.UDZD16547.hrndva-omta01.mail.rr.com@brianup>
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
>
>

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