-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate 3, DB2, identity_val_local() problem
PostPosted: Mon Aug 02, 2010 5:57 pm 
Newbie

Joined: Mon Aug 02, 2010 5:37 pm
Posts: 1
Hibernate 3 (not 3.5) on WAS 6.1 FixPack 25
Java 4 compatibility.

I created a database table for logging individual incoming WebService Calls. (up to 24,000/day)
We want to archive old rows nightly to an "archive" table.

When archiving, the Java app (hibernate) starts calling the DB2 method identity_val_local() repeatedly.
This locks the table and the logs.

How can I prevent this?

I started down the Hibernate upgrade path.
This impacts the Spring installation (shared JARs)
I don't want to have to upgrade everything - regression testing that much would be lame.

Thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.