users
[Top] [All Lists]

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

To: Kumar <kumarkakani@xxxxxxxxx>
Subject: Re: [cinjug-users] Hibernate and DB2 on OS/390
From: "James Carman" <james@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 30 Jul 2008 17:25:34 -0400
Cc: "Mike Ball" <mwball@xxxxxxxxx>, b.mccullars@xxxxxxxxxxxxxxxxxx, "Scott Balmos" <sbalmos@xxxxxxxxxxx>, users@xxxxxxxxxx
Delivered-to: mailing list users@xxxxxxxxxx
In-reply-to: <4e2988cc0807301324t7032a2a0h29db9897a41aec0a@xxxxxxxxxxxxxx>
Mailing-list: contact users-help@xxxxxxxxxx; run by ezmlm
References: <6f4a5d5a0807301226r1580ff32idcb2326d2d7077d@xxxxxxxxxxxxxx> <20080730193905.UDZD16547.hrndva-omta01.mail.rr.com@brianup> <6f4a5d5a0807301242j3ac6fbe4jcd6fe72f46ecc74e@xxxxxxxxxxxxxx> <4e2988cc0807301324t7032a2a0h29db9897a41aec0a@xxxxxxxxxxxxxx>
Sender: jcarman@xxxxxxxxxxxxxxxxxxxx
UUIDs have helped us solve a lot of problems.  I'd suggest looking
into it if you can.

On Wed, Jul 30, 2008 at 4:24 PM, Kumar <kumarkakani@xxxxxxxxx> wrote:
> 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>