aspose file tools*
The moose likes Spring and the fly likes Bulk data operations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Bulk data operations" Watch "Bulk data operations" New topic
Author

Bulk data operations

Preeti Prabhakar
Greenhorn

Joined: Jul 27, 2009
Posts: 12
Hi All,

I am on the look out for the most suitable option to do bulk data operations.
I have a requirement where in bulk data will have to be copied and inserted into the same table by modifying one column. The challenge here is that the queries will be dynamic and will be built based upon some metadata. Also, it should be able to run on any database.
I was checking for a suitable java framework for this. Is spring batch framework a good choice for this?

Thanks in advance
Kathleen Angeles
Ranch Hand

Joined: Aug 06, 2012
Posts: 123

Spring batch will help as a batch framework. Your issue is more on database processing.

Is there anything special with your db queries that need special consideration?
Preeti Prabhakar
Greenhorn

Joined: Jul 27, 2009
Posts: 12
Thanks Kathleen for the quick response.

The specific thing about queries is that the DB structure is highly configurable and table name, columns, joins etc will be built only during runtime.
Will this be supported by the spring batch framework?
Saifuddin Merchant
Ranch Hand

Joined: Feb 08, 2009
Posts: 606

Spring batch can do anything you can do in a java program.

Like the good batch framework, it is it provides features like scalability, re-startability and a batch admin to start/stop jobs.

From your description it is very hard to say if you need spring batch features, (or batch features at all) - but if you do spring provides a good batch framework.

If you are asking for a personal opinion, from your description I would agree with Kathleen. i don't think you need a batch framework for your requirements, but it's hard to say without more details.


Cheers - Sam.
Twisters - The new age Java Quiz || My Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Bulk data operations