-->
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: Bulk Insert And Hibernate as Friends...
PostPosted: Mon May 24, 2004 4:37 pm 
Regular
Regular

Joined: Mon Sep 29, 2003 9:39 am
Posts: 67
I would like to know if anyone has a suggestion for (or can point to) a sane way of mixing 'Bulk' SQL functionality with hibernate. What are the rules of engagement?

The functionality of my app can be broken into these major tasks:
1. User reserves records in db for a few weeks work. [BULK]
2. User uploads XML data files. [BULK]
3. User configures rules for automated processing [O/R]
4. User applies rules to reserved set [GRAY-AREA: iteration or BULK]
5. User iterates the items that fail the rules and takes some action, each item is a graph with multiple collections: history, pricing, details, etc [O/R]
6. User generates summaries [BULK]
7. User generates reports [BULK]
8. User finishes (records are unreserved/unlocked) [BULK].

So there's this intensive setup that consists of validating and uploading data and locking a large set of information, then theres a long process in which individual, complex items are reviewed (Hibernate rocks here) then there is
the finalizing steps, which involve reporting and summary calculations.

This isn't an uncommon set of tasks, so has someone worked out a way to have the best of both worlds? If this is really stupid, just flog me.


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.